<?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>Wed, 23 May 2012 10:59:44 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ServerGrove Blog: Editing Twig Templates in Dreamweaver]]></title>
      <guid>http://www.phpdeveloper.org/news/15998</guid>
      <link>http://www.phpdeveloper.org/news/15998</link>
      <description><![CDATA[<p>
On the ServerGrove blog today there's a new post showing how you can set up Dreamweaver to be able to <a href="http://blog.servergrove.com/2011/03/03/editing-twig-templates-in-dreamweaver/">edit Twig templates</a> directly, complete with syntax highlighting.
</p>
<blockquote>
If you are a designer working with Symfony developers you will soon encounter Twig. Twig is a template engine for PHP that has been adopted by Symfony 2, and from a designers perspective, it's a major improvement over the way things are done in Symfony! For designers who have used templating systems like Smarty before, Twig is going to be a walk in the park, if you have not used a templating system before, Twig is a great place to start. 
</blockquote>
<p>
It's a simple two-step process to get things up and working. You just need to tell Dreamweaver that ".twig" files should be recognized as code and set up the syntax highlighting in the "MMDocumentTypes" XML configuration file (might be a little tricky for non-development types). This change tells the program to open them with HTML syntax highlighting.
</p>]]></description>
      <pubDate>Fri, 04 Mar 2011 10:16:28 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mayflower Blog: PHP_CodeBrowser goes stable]]></title>
      <guid>http://www.phpdeveloper.org/news/15582</guid>
      <link>http://www.phpdeveloper.org/news/15582</link>
      <description><![CDATA[<p>
According to <a href="http://blog.mayflower.de/archives/626-PHP_CodeBrowser-goes-stable.html">this new post</a> on the Mayflower blog, the <a href="https://github.com/mayflowergmbh/PHP_CodeBrowser">PHP_CodeBrowser</a> PEAR package has finally reached a stable state.
</p>
<blockquote>
We already <a href="http://github.com/mayflowergmbh/PHP_CodeBrowser">wrote about CodeBrowser 0.9 in August</a> and after fixing a few minor bugs the <a href="http://opensource.mayflower.de/">Mayflower Open Source Labs Team</a> is very happy to present PHP_CodeBrowser 1.0.0.
</blockquote>
<p>
The PHP_CodeBrowser package allows quality assurance tools (like <a href="http://phpunit.de">PHPUnit</a>) to create enhanced output including syntax highlighting and colored error sections. It comes with some basic template, CSS, Javascript and image files as well as a plugin system to allow for custom handling of certain error types. You can install it from the pear.phpunit.de PEAR channel or you can check out the <a href="https://github.com/mayflowergmbh/PHP_CodeBrowser">source on github</a>.
</p>]]></description>
      <pubDate>Wed, 15 Dec 2010 10:54:22 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Thomas Weinert's Blog: Highlight Words In HTML]]></title>
      <guid>http://www.phpdeveloper.org/news/14486</guid>
      <link>http://www.phpdeveloper.org/news/14486</link>
      <description><![CDATA[<p>
In the latest post to his blog <i>Thomas Weinert</i> takes a look at a simple challenge someone asked him about - highlighting a section of HTML based on a search string - and <a href="http://www.a-basketful-of-papayas.net/2010/05/highlight-words-in-html.html">his solution</a>.
</p>
<blockquote>
The challenge is to wrap given words in text content with a span and add a class to the span depending on the word. Do not touch elements, attributes, comments or processing instructions. Do it case insensitive and do it the safe way.
</blockquote>
<p>
He uses the <a href="svn://svn.fluentdom.org">FluentDOM</a> tool to get the job done. It allows him to create an XPath expression to single out the item to be highlighted (in this case a single or series of words) and wrap them in a matching span tag with the correct styles attached.
</p>]]></description>
      <pubDate>Mon, 10 May 2010 10:34:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Syntax Highlighting for Technical Presentations]]></title>
      <guid>http://www.phpdeveloper.org/news/12113</guid>
      <link>http://www.phpdeveloper.org/news/12113</link>
      <description><![CDATA[<p>
If you've given any kind of technical presentation, you know that presenting code samples (clearly) can be one of the larger challenges. <i>Matthew Weier O'Phinney</i> has <a href="http://weierophinney.net/matthew/archives/210-Syntax-Highlighting-for-Technical-Presentations.html">found a solution</a> that works well for him and his slides - <a href="http://www.andre-simon.de/">Highlight</a>.
</p>
<blockquote>
Being a technical presenter, I've often run up against the issue of how to present code snippets. The easiest route is to simply cut-and-paste into your presentation software. However, such code is basically unreadable. [...] The first trick I tried was to take screenshots of gvim. However, this had distinct downsides. [...] The next trick I tried was to use Zend Studio or Eclipse to create my screen shots.
</blockquote>
<p>
He talks about <a href="http://www.andre-simon.de/">the tool</a> (Highlight) and its use - basically you specify the input, output and the language it needs to highlight for with more fine-tuning options like font size, line width and more. Compare <a href="http://weierophinney.net/matthew/uploads/2009-03-10-VimExample.png">this</a> and <a href="http://weierophinney.net/matthew/uploads/2009-03-10-EclipseExample.png">this</a> to the end result of Highlight <a href="http://weierophinney.net/matthew/uploads/2009-03-10-Highlight.png">here</a> to get a feeling for how the product might look.
</p>]]></description>
      <pubDate>Wed, 11 Mar 2009 10:22:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Maggie Nelson's Blog: Finally, pretty syntax highlighting for blog posts!]]></title>
      <guid>http://www.phpdeveloper.org/news/12047</guid>
      <link>http://www.phpdeveloper.org/news/12047</link>
      <description><![CDATA[<p>
<i>Maggie Nelson</i> <a href="http://maggienelson.com/2009/02/finally-pretty-syntax-highlighting-for-blog-posts/">points out</a> a cool way that you <a href="http://macromates.com/">TextMate</a> users out there can get better syntax highlighted code for your blog posts.
</p>
<blockquote>
A coworker, <a href="http://craigiam.com/">Craig Campbell</a> just launched a new blog recently. One of the really neat things about his blog is how he handles syntax highlighting for code samples - check out examples in his interesting post about <a href="http://www.craigiam.com/blog/13/cool-object-building-with-php">Cool Object Building with PHP</a>. In fact, he got so many good comments about this approach that he even wrote a post explaining exactly how he does it: <a href="http://www.craigiam.com/blog/14/syntax-highlighting-for-your-blog-using-textmate!">Syntax Highlighting for Your Blog Using TextMate</a>.
</blockquote>
<p>
<a href="http://www.craigiam.com/blog/14/syntax-highlighting-for-your-blog-using-textmate!">Craig's process</a> is as simple as selecting the TextMate bundle and choosing "Create HTML from Document with Line Numbers". The resulting output takes a little tweaking in the HTML and CSS, but the end result is quite nice (and better than several of the syntax highlighting plugins out there).
</p>]]></description>
      <pubDate>Mon, 02 Mar 2009 12:52:27 -0600</pubDate>
    </item>
    <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>
  </channel>
</rss>

