<?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, 24 May 2012 15:23:46 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Bertrand Mansion's Blog: Twitter Bootstrap and the QuickForm2 Callback Renderer]]></title>
      <guid>http://www.phpdeveloper.org/news/16908</guid>
      <link>http://www.phpdeveloper.org/news/16908</link>
      <description><![CDATA[<p>
In a new post <i>Bertrand Mansion</i> shows <a href="http://mansion.im/2011/twitter-bootstrap-and-the-quickform2-callback-renderer/">how he combined</a> the versatility of the PEAR <a href="http://pear.php.net/package/HTML_QuickForm2">QuickForm2</a> package and the <a href="http://twitter.github.com/bootstrap/">Bootstrap project</a> from Twitter to quickly make a form using the project's styling (CSS).
</p>
<blockquote>
I don't know about you, but for me building HTML Forms and styling HTML Forms are maybe the most boring things in web development. It's repetitive and takes a lot of time to do things correctly. That's why tools like Twitter's Bootstrap and PEAR's HTML_QuickForm2 can help with this part of our job. Wouldn't it be nice to have QuickForm2 generate a markup compatible with Bootstrap CSS, so that you could get a nice looking form without to much efforts? Well, that's what I plan to do here.
</blockquote>
<p>
He starts by creating a simple QuickForm2 form with no renderers attached (no pre-defined styles) and a custom render callback that wraps the items in "div" tags with the correct styles. There's also a custom renderer included for grouping items with additional styling attached.
</p>]]></description>
      <pubDate>Mon, 26 Sep 2011 12:23:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[John Congdon's Blog: PHP User Groups (Orlando and Daytona Beach)]]></title>
      <guid>http://www.phpdeveloper.org/news/16196</guid>
      <link>http://www.phpdeveloper.org/news/16196</link>
      <description><![CDATA[<p>
In <a href="http://www.johncongdon.com/php-user-groups-orlando-and-daytona-beach/">this recent post</a> to his blog <i>John Congdon</i> looks at some of his local user groups - Orlando and Daytona Beach in Florida - and how they handle their meetings and groups differently.
</p>
<blockquote>
I am a member of two PHP user groups.  Each one runs a little bit differently.  I am looking for feedback from other people in other PHP user groups to find ways we may be able to make these better. he East Central Florida PHP User Group (Daytona Beach area) is new/restarting. [...] They seem to be more geared towards teaching new PHP developers. [...] The Orlando PHP User Group is quite different.  They lean towards more presentation style meetings.  Someone proposes a topic, and then someone volunteers to be the presenter.
</blockquote>
<p>
He asks for comments from the community as a whole, wondering what he can do and what other groups in similar situations have done to help grow and improve their group. <a href="http://www.johncongdon.com/php-user-groups-orlando-and-daytona-beach/#comments">Comments</a> on the post include suggestions of a more traditional approach over the mentoring aspect, a possible mixing of the styles and using tools likee <a href="http://www.google.com/moderator/">Google Moderator</a> to pick out the topics people are most interested in.
</p>]]></description>
      <pubDate>Thu, 14 Apr 2011 10:36:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Derek Allard's Blog: Modifying the default CodeIgniter Calendar template for fun and profit]]></title>
      <guid>http://www.phpdeveloper.org/news/15632</guid>
      <link>http://www.phpdeveloper.org/news/15632</link>
      <description><![CDATA[<p>
<i>Derek Allard</i> has <a href="http://derekallard.com/blog/post/modifying-the-default-codeigniter-calendar-template-for-fun-and-profit/">a quick post</a> for the CodeIgniter users out there with some styling you can use on the default CI calendar.
</p>
<blockquote>
A project I'm working on needs a monthly calendar. Naturally, I'm using CodeIgniter as the base of it. [...] My needs were something more akin to the interface iCal provides; broad, spacious, subtle. Obviously, the default is just an unstyled base that CI provides as a starting grounds. The <a href="http://codeigniter.com/user_guide/libraries/calendar.html">Calendar library documentation</a> provides some insight into how we can start changing this up.
</blockquote>
<p>
He talks about the settings he needed to change including the "day_type" setting and template that specifies the CSS classes to use. Add in the CSS and you'll end up with <a href="http://www.derekallard.com/img/post_resources/finished_big_cal.png">something like this</a>. You can <a href="http://www.derekallard.com/img/post_resources/calendar_example.zip">download the example files</a> too.
</p>]]></description>
      <pubDate>Fri, 24 Dec 2010 11:09:33 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Smaizys' Blog: Improve your code style with simple tips]]></title>
      <guid>http://www.phpdeveloper.org/news/15536</guid>
      <link>http://www.phpdeveloper.org/news/15536</link>
      <description><![CDATA[<p>
<i>Richard Smaizys</i> has <a href="http://www.smaizys.com/programing/improve-your-code-style-with-simple-tips/">a new post to his blog</a> with a few simple tips you can follow to help improve your code's style and readability.
</p>
<blockquote>
So you have to know and you can not forget that your program (not only websites) is like a living beast with whom many people might work in the future. Your code is like your art piece which sometimes need editing, renewal and etc.  You can not just think that you will always be the person who manages everything and supports all the bugs. By understanding this you also agree that the code must be maintainable and readable not only for you after a year or two but to other people that may not be so skilled or advanced and otherwise.
</blockquote>
<p>
He covers two things in this post (there's <a href="http://www.smaizys.com/programing/what-is-the-best-practice-for-writing-code/">this other about brackets</a>) - tabs versus spaces (or hard vs soft tabs) and a bit more on braces, specifically about the same line/next line debate.
</p>
<p>
Have some code style tips of your own or just want to discuss <i>Richard</i>'s suggestions? <a href="http://www.smaizys.com/programing/improve-your-code-style-with-simple-tips/">Leave a comment</a> on the post!
</p>]]></description>
      <pubDate>Fri, 03 Dec 2010 12:50:56 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DesignLuv.com: A style guide for PHP developers]]></title>
      <guid>http://www.phpdeveloper.org/news/14924</guid>
      <link>http://www.phpdeveloper.org/news/14924</link>
      <description><![CDATA[<p>
On DesignLuv.com today they've posted what they call <a href="http://designluv.com/input-output/tutorials/a-style-guide-for-php-developers/">a style guide</a> for PHP developers - some types on writing well-styled, easy to read code.
</p>
<blockquote>
If you're a new developer and are trying to hone in on your coding style, maybe try giving the following a go. These are simply some conventional formatting methods that are generally appreciated and supported by PHP developers and will improve the overall readability of your code.
</blockquote>
<p>
They talk about a few different subjects - variable names, class and method naming, bracket spacing, default arguments, constants, loops and a lot more. It's good to see them including things like commenting and file name suggestions.
</p>]]></description>
      <pubDate>Mon, 09 Aug 2010 09:13:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[WebReference.com: XML and PHP Simplified - Formatting XML Documents]]></title>
      <guid>http://www.phpdeveloper.org/news/13004</guid>
      <link>http://www.phpdeveloper.org/news/13004</link>
      <description><![CDATA[<p>
WebReference.com has <a href="http://www.webreference.com/authoring/languages/xml/XML_and_PHP_Simplified03/index.html">the latest tutorial</a> in their "Simplified XML" series posted today. This installment focuses on the formatting of the documents in the browser and how to read them back in.
</p>
<blockquote>
We have already discussed the XML functions so let's use an example to demonstrate how they work. First, we get the XML file that we want to use. The idea is to create an XML parser. This will then enable us to read and write to an XML document.
</blockquote>
<p>
Their examples show code that parses an XML document, outputs a simple list of the values inside and how to take an XSL style sheet and apply it to the data as applied through a xml-stylesheet tag.
</p>]]></description>
      <pubDate>Thu, 06 Aug 2009 08:33:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Dagfinn Reiersol's Blog: Real programming with PHP 5.3 (part 2): JavaScript-style classes]]></title>
      <guid>http://www.phpdeveloper.org/news/12256</guid>
      <link>http://www.phpdeveloper.org/news/12256</link>
      <description><![CDATA[<p>
On t Dagfinn Reiersol'sblog, there's <a href="http://blog.agilephp.com/2009/03/31/real-programming-with-php-53-part-2-javascript-style-classes/">a new post</a> that's the second part of a series on "real programming" with the upcoming PHP 5.3 release.
</p>
<blockquote>
In <a href="http://blog.agilephp.com/2009/03/19/real-programming-with-php-53-part-1-array-processing/">part one of this series</a>, we looked at the ability to use lambda functions or closures to process arrays. In this part, we will see how closures can be used to build classes in a completely new way. After I did my own research, I discovered that someone had <a href="http://loveandtheft.org/2008/09/20/javascript-oo-python-ducktyping-in-php53/">beat me to it</a>.
</blockquote>
<p>
He compares the two approaches - one defining closures in the constructor, the other as they're needed - and some code showing the creation and use of the lambda functions (using __call and call_user_func_array to catch those requests).
</p>]]></description>
      <pubDate>Wed, 01 Apr 2009 12:07:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Noupe.com:  Beautiful Forms - Design, Style, & make it work with PHP & Ajax]]></title>
      <guid>http://www.phpdeveloper.org/news/12098</guid>
      <link>http://www.phpdeveloper.org/news/12098</link>
      <description><![CDATA[<p>
In <a href="http://www.noupe.com/php/beautiful-forms.html">this new article</a> from Noupe.com they link to several resources that can help you make your site's forms a bit "more beautiful" by combining PHP and Ajax (and Javascript).
</p>
<blockquote>
Forms needs a solid visual structure, a profound hierarchy of form elements (Fields and Labels), powerful techniques and Functionality (AJAX) to make the form look and work creatively. [...] Today we wanted to share with you some great steps to get the perfect form: we will go through designing and usability you need to keep in mind, styling your form, spicing it up with some nice javascript effects, validating user's input and finally getting it to work using PHP and Ajax.
</blockquote>
<p>Some of the links include:</p>
<ul>
<li><a href="http://www.smashingmagazine.com/2008/07/04/web-form-design-patterns-sign-up-forms/">Web Form Design Patterns: Sign-Up Forms</a>
<li><a href="http://www.jankoatwarpspeed.com/post/2008/07/09/Justify-elements-using-jQuery-and-CSS.aspx">Justify elements using jQuery and CSS</a>
<li><a href="http://trif3cta.com/blog/entry/xhtml-css-web-forms-5-simple-techniques/">XHTML/CSS web forms: 5 simple techniques</a>
<li><a href="http://cssrevolt.com/upload/files/protoformclass/">Using ProtoForm</a>
<li><a href="http://www.brandspankingnew.net/specials/ajax_autosuggest/ajax_autosuggest_autocomplete.html">Autosuggest / Autocomplete with Ajax</a>
</ul>
<p>
Most of the article links also include links to demos of the tutorial/application in action.
</p>]]></description>
      <pubDate>Tue, 10 Mar 2009 07:57:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Completing a Blogging Application with the Code Igniter PHP Framework ]]></title>
      <guid>http://www.phpdeveloper.org/news/11733</guid>
      <link>http://www.phpdeveloper.org/news/11733</link>
      <description><![CDATA[<p>
DevShed finishes off another series with the <a href="http://www.devshed.com/c/a/PHP/Completing-a-Blogging-Application-with-the-Code-Igniter-PHP-Framework/">last part</a> of their look at making a blog app with the help of the <a href="http://www.codeigniter.org">CodeIgniter framework</a>.
</p>
<blockquote>
By using the framework, you'll be taking advantage of the MVC pattern to separate the application's logic from its visual presentation. This article will focus on the improving the appearance of the application's final details: the section concerned with receiving and displaying comments.
</blockquote>
<p>
Starting with the <A href="http://www.devshed.com/c/a/PHP/Completing-a-Blogging-Application-with-the-Code-Igniter-PHP-Framework/1/">full source</a> from the previous parts of the series, they modify the view file for their blog's comments to ass come nice CSS and styling. The <a href="http://www.devshed.com/c/a/PHP/Completing-a-Blogging-Application-with-the-Code-Igniter-PHP-Framework/3/">final page</a> shows the entire code for the application (split out ino chuncks of code for each file).
</p>]]></description>
      <pubDate>Tue, 13 Jan 2009 16:57:16 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Robert Basic's Blog: Styling the default Zend_Form layout]]></title>
      <guid>http://www.phpdeveloper.org/news/11625</guid>
      <link>http://www.phpdeveloper.org/news/11625</link>
      <description><![CDATA[<p>
<i>Robert Basic</i> has a <a href="http://robertbasic.com/blog/styling-the-default-zend_form-layout/">new post</a> showing how to style the default output of the Zend_Form component of the Zend Framework:
</p>
<blockquote>
Here's an example for styling <a href="http://framework.zend.com/manual/en/zend.form.html">Zend_Form</a>'s default layout. The default layout is using <a href="http://w3schools.com/tags/tag_dl.asp">definition lists</a>. While there's an option for changing the default layout, the wrapper tags and stuff, I see no reason for it. Create the form, add some CSS and your good to go.
</blockquote>
<p>
He includes some sample markup, the PHP (framework) code that produces it and the CSS that can be used to style it. This can then be used and expanded on however you'd want to customize the form to your site.
</p>]]></description>
      <pubDate>Thu, 25 Dec 2008 11:50:48 -0600</pubDate>
    </item>
  </channel>
</rss>

