<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 20 Nov 2008 05:12:06 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Scott MacVicar's Blog: Source Code Highlighting within Slides]]></title>
      <guid>http://www.phpdeveloper.org/news/10377</guid>
      <link>http://www.phpdeveloper.org/news/10377</link>
      <description><![CDATA[<p>
<i>Scott MacVicar</i> shares a <a href="http://www.macvicar.net/blog/2008/06/source-code-hig.html">helpful hint</a> for the PHP speakers out there - how to apply syntax highlighting to the code in your slides.
</p>
<blockquote>
I use Apple's Keynote for doing my presentations and naturally these include some bits of code that need highlighting so that it's easier to read. [...] In the end I used <a href="http://qbnz.com/highlighter/index.php">GESHI</a> which is a highlight library written in PHP that supports the syntax highlighting of around 50 different programming and scripting languages.
</blockquote>
<p>
He's provided his <a href="http://www.macvicar.net/keynote.zip">sample implementation</a> to help you get up and running. You'll need to download and install <a href="http://qbnz.com/highlighter/index.php">GESHI</a> to get it working though. <a href="http://www.macvicar.net/.shared/image.html?/photos/uncategorized/2008/06/07/keynote_highlight.png">Here</a>'s an example of the output.
</p>]]></description>
      <pubDate>Tue, 10 Jun 2008 09:31:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Rob Allen's Blog: New Zend Framework Blog/Website]]></title>
      <guid>http://www.phpdeveloper.org/news/9354</guid>
      <link>http://www.phpdeveloper.org/news/9354</link>
      <description><![CDATA[<p>
As a part of the release of the new book from Manning Publishing, Zend Framework in Action, <i>Rob Allen</i> has <a href="http://akrabat.com/2008/01/03/new-zend-framework-blogwebsite/">created a new site</a> to act as a companion and to host new Zend Framework-related articles - <a href="http://www.zendframeworkbook.com/">ZendFrameworkBook.com</a>.
</p>
<blockquote>
The intention is to highlight interesting things that I see on the Zend Framework mailing lists and also to talk about book stuff periodically as well.
</blockquote>
<p>
A good bit of the content will be summarized from the Framework's mailing lists but will also include other articles/tutorials/updates on proposals/etc that are happening in that community.
</p>]]></description>
      <pubDate>Fri, 04 Jan 2008 08:45:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: MacGyver menu for CakePHP - What's the active menu item?]]></title>
      <guid>http://www.phpdeveloper.org/news/8200</guid>
      <link>http://www.phpdeveloper.org/news/8200</link>
      <description><![CDATA[<p>
In <a href="http://www.thinkingphp.org/2007/07/08/macgyver-menu-for-cakephp-whats-the-active-menu-item/">a new post</a> to his blog today, <i>Felix Geisendorfer</i> talks about view coding - specifically working with a menu and determining which element is active.
</p>
<blockquote>
One of the challenges many of us have faced before and will face in future is building a menu. Now this of course is very simple assuming that we're just shooting for a static &lt;ul> with some &lt;li>'s containing the links. However the tricky part is to figure out what is the active menu item. I had some code doing this in the past but tried out a new flavor of it today which I call the MacGyver menu for CakePHP as it's a little dirty yet powerful and easy to maintain.
</blockquote>
<p>
In his included code, he <a href="http://www.thinkingphp.org/2007/07/08/macgyver-menu-for-cakephp-whats-the-active-menu-item/">creates a simple navigation</a> from an array of titles/links and, with some sorting, a regular expression and a CSS class, the selected item can be highlighted simply.
</p>]]></description>
      <pubDate>Mon, 09 Jul 2007 09:34:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-Coding-Practices.com: Control Your CSS Via PHP - Good Stuff!]]></title>
      <guid>http://www.phpdeveloper.org/news/7913</guid>
      <link>http://www.phpdeveloper.org/news/7913</link>
      <description><![CDATA[<p>
From the PHP-Coding-Practices.com website today, there's <a href="http://php-coding-practices.com/cool-stuff/control-your-css-via-php-good-stuff/">a new post</a> that, using a tip from <a href="http://www.barelyfitz.com/projects/csscolor/">this article</a> on BarelyFitz, shows how to control CSS information with PHP.
</p>
<blockquote>
Today I stumbled upon a <a href="http://www.barelyfitz.com/projects/csscolor/">cool article</a> that explains how one can control one's CSS colors via PHP to former relative shades. How is this done I hear you asking? Just look at the following code.
</blockquote>
<p>
<a href="http://php-coding-practices.com/cool-stuff/control-your-css-via-php-good-stuff/">His example</a> uses the tutorial's csscolor class and shows how to implement it with a base color and a highlight color and use it to generate variations of the same shades.
</p>]]></description>
      <pubDate>Thu, 24 May 2007 09:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tiffany Brown's Blog: Review: WorkSpace]]></title>
      <guid>http://www.phpdeveloper.org/news/7847</guid>
      <link>http://www.phpdeveloper.org/news/7847</link>
      <description><![CDATA[<p>
On her blog, <i>Tiffany Brown</i> has <a href="http://tiffanybbrown.com/2007/05/15/review-workspace/">a review</a> of an online editing resource she came across that can help you write code and work with remote files via a web interface - <a href="http://www.createworkspace.com/">WorkSpace</a> (including HTML, JavaScript, CSS, PHP, SQL, Java, and Perl documents).
</p>
<blockquote>
WorkSpace - which currently is currently in limited beta testing - is an online text editing environment with an eye towards web development. You can create documents and save them in your hosted sandbox, or directly to your server via FTP.
</blockquote>
<p>
She <a href="http://tiffanybbrown.com/2007/05/15/review-workspace/">talks about</a> her experiences with it - both the good and the bad. She liked the simplicity of it all but thought it lacked a few of the features it needed. She also mentions the lack of version control in the application.
</p>
<blockquote>
I do like the idea behind WorkSpace. [...] The downside is that you're trusting a company with all of your web site data. I'm not sure the slight gain in the ability to work remotely is worth the trade-off of giving WorkSpace server access.
</blockquote>]]></description>
      <pubDate>Tue, 15 May 2007 11:07:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sandro Groganz's Blog: Syntax Highlighting & Migrating Permalinks in WordPress]]></title>
      <guid>http://www.phpdeveloper.org/news/7058</guid>
      <link>http://www.phpdeveloper.org/news/7058</link>
      <description><![CDATA[<p>
<i>Sandro Groganz</i> has two new WordPress tips for users out there looking to do some syntax highlighting in their posts and that want to move some older permalinks into a WordPress environment.
</p>
<p>
The <a href="http://sandro.groganz.com/weblog/2006/12/30/syntax-highlighting-in-wordpress/">first post</a> spotlights a package that makes highlighting in WordPress simple - the <a href="http://blog.igeek.info/still-fresh/2006/02/25/code-for-fun/">iG:Syntax Hiliter v3.5 plugin</a>. He includes some sample code to show how the CSS is formatted which, in itself, is a demo of what the plugin looks like.
</p>
<p>
The <a href="http://sandro.groganz.com/weblog/2006/12/30/migrating-old-permalinks-to-wordpress/">second article</a> follows the steps he went through to make the move to WordPress URLs from the previous format. He leaned toward mod_rewrite, but decided to go a different way and whip up a custom 404 handler to get people where they want to go. He includes the code (all 15 lines of it) to show how he did it.
</p>]]></description>
      <pubDate>Tue, 09 Jan 2007 07:39:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-GTK Community Site: Using GtkSourceview to build a php editor with syntax highlighting]]></title>
      <guid>http://www.phpdeveloper.org/news/6930</guid>
      <link>http://www.phpdeveloper.org/news/6930</link>
      <description><![CDATA[<p>
There's a <a href="http://www.php-gtk.eu/code-snippets/extending-gtksourceview-widget">new tutorial</a> posted on the PHP-GTK Community site today - a quick one showing how to use GtkSourceview to create a simple PHP editor with syntax highlighting.
</p>
<blockquote>
This widget is nearly usable as a real php-gtk IDE. It extends GtkSourceView widget and internally manages both a text buffer and language object classes.
</blockquote>
<p>
They <a href="http://www.php-gtk.eu/code-snippets/extending-gtksourceview-widget">provide the code</a>, but not too much in the way of explanation for it. Thankfully, most of it is pretty straight-forward. There are a few things that the script has to manage to make the it work - a text buffer for the data, a viewer (window), and the syntax highlighting component. For the view, there are a few handy functions already built in so you won't have to create them - undos, the syntax highlighting, line numbering, markers, and bracket highlighting.
</p>]]></description>
      <pubDate>Tue, 19 Dec 2006 08:34:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Cocoliso's Blog: Adding A Syntax Highlighter To Your Site: The Power Of Geshi]]></title>
      <guid>http://www.phpdeveloper.org/news/6906</guid>
      <link>http://www.phpdeveloper.org/news/6906</link>
      <description><![CDATA[<p>
On his blog today, <i>Cocoliso</i> <a href="http://www.cocoliso.us/blog/index.php?id=7">talks about</a> a handy bit of code to allow for syntax highlighting in your page - <a href="http://qbnz.com/highlighter/">Geshi</a>.
</p>
<blockquote>
What if I told you that with as little as 3 lines of code, you could highlight code on your site? You'd jump at it, wouldn't you? Why not run with the big boys? Your users will love you for it and for good reason. It greatly increases readability.
</blockquote>
<p>
He <a href="http://www.cocoliso.us/blog/index.php?id=7">walks through</a> the simple installation and how to use it in your page - complete with the code he uses to include the functionality in your page.
</p>]]></description>
      <pubDate>Fri, 15 Dec 2006 09:42:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Shiflett's Blog: Formatting and Highlighting PHP Code Listings]]></title>
      <guid>http://www.phpdeveloper.org/news/6589</guid>
      <link>http://www.phpdeveloper.org/news/6589</link>
      <description><![CDATA[<p>
In his continuing effort to redesign his blog, <a href="http://www.shiflett.org">Shiflett.org</a>, he's been working on one of the things that really makes a blog useful - the commenting system. Specifically, he wants site visitors to be able to add their own code listings to the comments they post. He gives more detail in <a href="http://shiflett.org/archive/275">this new post</a>.
</p>
<blockquote>
I've been playing with this tonight. Feel free to follow along as I go. The first thing you want to do is create an ordered list from the code you want to format ($code in these examples).
</blockquote>
<p>
He gives an example of a listing using his system and explains how it all works. It's a mixture of:
<ul>
<li>PHP for parsing the data inside the 'code' tags
<li>CSS to correctly style the information, whitespace and all
<li>Some ini settings to set parameters for...
<li>...the use of highlight string on the PHP code contents
</ul>
A little str_replace magic later and you have list items styled as code blocks on your page. Check out <a href="http://shiflett.org/code/highlight.php">his demo</a> for an example.
</p>
]]></description>
      <pubDate>Fri, 27 Oct 2006 07:19:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Highlighting What Section of a Website the User Is In]]></title>
      <guid>http://www.phpdeveloper.org/news/6266</guid>
      <link>http://www.phpdeveloper.org/news/6266</link>
      <description><![CDATA[<p>
PHPBuilder.com has a <a href="http://www.phpbuilder.com/columns/white-eisenhamer20060911.php3">quick little article</a> (an exceprt from "<a href="http://www.samspublishing.com/bookstore/product.asp?isbn=0672328887&rl=1">PHP 5 in Practice</a>") that shows how, using a simple dynamic navigation system, highlight where the user currently is.
</p>
<blockquote>
Although a site may not always warrant a full multilayer navigation menu, most websites usually have at least a few different sections. Often many pages have links back to the top pages of each section, and therefore it is useful to highlight which section the user is currently in. Listing 9.2.1 looks at the URL of the current web page and, based on that, determines what section of the website it is in and changes the section menu.
</blockquote>
<p>
They <a href="http://www.phpbuilder.com/columns/white-eisenhamer20060911.php3">provide the script</a> and a brief explaination, but not much else. Seems like the snippet might make more sense with a little more context, but it's still useful.
</p>]]></description>
      <pubDate>Wed, 13 Sep 2006 15:02:22 -0500</pubDate>
    </item>
  </channel>
</rss>
