<?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 05:42:03 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SitePoint.com: How to Create Your Own Random Number Generator in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17524</guid>
      <link>http://www.phpdeveloper.org/news/17524</link>
      <description><![CDATA[<p>
On SitePoint.com today there's a new tutorial showing how to <a href="http://www.sitepoint.com/php-random-number-generator/">create a random number generator</a> in PHP (with the help of methods like <a href="http://php.net/mt_rand">mt_rand</a> and <a href="http://php.net/mt_srand">mt_srand</a>).
</p>
<blockquote>
Computers cannot generate random numbers. A machine which works in ones and zeros is unable to magically invent its own stream of random data. However, computers can implement mathematical algorithms which produce pseudo-random numbers. They look like random numbers. They feel like random distributions. But they're fake; the same sequence of digits is generated if you run the algorithm twice.
</blockquote>
<p>
Included in the post is code showing how to use the random functions and how to create a class (Random) that provides a few methods to help make generation easier - "seed" and "num". It first calls "seed" with a number to start the random generator off with and then "num" in a loop to pull out random values based on that. 
</p>]]></description>
      <pubDate>Thu, 09 Feb 2012 10:03:35 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Symfony Blog: Symfony2: Getting Easier - Interactive Generators]]></title>
      <guid>http://www.phpdeveloper.org/news/16504</guid>
      <link>http://www.phpdeveloper.org/news/16504</link>
      <description><![CDATA[<p>
On the Symfony blog they've posted the latest in their "Getting Easier" series looking at some of the things being done for the framework to help make it more appealing for those just coming in. In <a href="http://symfony.com/blog/symfony2-getting-easier-interactive-generators">this new article</a> they look at the new interactive generators</a> that help you create the code you'll need to set up your bundles without a lot of manual effort.
</p>
<blockquote>
symfony1 has generators for all those things, but until now, Symfony2 was not very good at generating code. Well, that's "fixed" now, thanks to the new <a href="http://github.com/sensio/SensioGeneratorBundle">GeneratorBundle</a>. The bundle is included by default in Symfony SE (as of 2.0.0 RC1 which will be released on June 24th) and it knows how to generate bundles, forms, Doctrine entities, and simple CRUD controllers to get you started even faster.
</blockquote>
<p>
A screencast is included in <a href="http://symfony.com/blog/symfony2-getting-easier-interactive-generators">the post</a> showing the process of running the new tool and generate all of the configurations you'll need for a bundle, a Doctrine2 entity, database creation and the CRUD interfaces for a Doctrine entity. You can grab the code for this new bundle from <a href="https://github.com/sensio/SensioGeneratorBundle">the Sensio github account</a>.
</p>]]></description>
      <pubDate>Wed, 22 Jun 2011 10:09:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Victor Farazdagi's Blog: New Project: Phrozn - static site generator in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16205</guid>
      <link>http://www.phpdeveloper.org/news/16205</link>
      <description><![CDATA[<p>
On his blog today <i>Victor Farazdagi</i> introduces a new tool he's developed to help make the creation of static sites even easier - <a href="http://phrozn.info/">Phrozn</a>, a static site generator that takes content and wraps it in a site's template and structure and outputs it for easy integration.
</p>
<blockquote>
Given the scale of how client-side technologies (such as JavaScript) evolved, most of dynamic functionality can be implemented using client-side scripts + remote web-services (e.g. Disqus for comments). More than often we a going down that road even on our completely dynamic sites - it makes things more simple.
</blockquote>
<p>
He gives the example of being able to write the content in VIM and run a single application - <a href="http://phrozn.info/">Phrozn</a> - and generate the new page to add to the site. He sees it as a good alternative to something like WordPress where most people only use 1% of the functionality it offers. You can find out more about the project by looking into <a href="http://www.phrozn.info/en/documentation/">its documentation</a> or you can just dive into the code by <a href="https://github.com/farazdagi/phrozn">grabbing it from github</a>. As a side note, several other tools, like <a href="https://github.com/mojombo/jekyll/wiki">Jekyll</a> are "blog aware" and can be used similarly. 
</p>]]></description>
      <pubDate>Fri, 15 Apr 2011 11:02:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[LogicPool.com: List of PHP and MySQL Code Generators]]></title>
      <guid>http://www.phpdeveloper.org/news/15342</guid>
      <link>http://www.phpdeveloper.org/news/15342</link>
      <description><![CDATA[<p>
On the LogicPool site there's <a href="http://logicpool.com/archives/297">a new post</a> with a list of PHP+MySQL code generators you can use if there's not a specific framework involved in your application (most of those come with code generation tools already).
</p>
<blockquote>
Some of these tools can rapidly build a fully functional application, but there's more to most useful applications than simply displaying a list of fields for users to fill out and viewing the results from an admin only accessible area. Most applications will need tweaks that can be small to large depending on the requirements. Keep that in mind when looking at these products as the amount of effort required to tweak the code produced by these tools.
</blockquote>
<p>
Tools on their list (some free, some paid services) include:
</p>
<ul>
<li><a href="http://www.bigprof.com/appgini/">AppGini</a>
<li><a href="http://www.hkvstore.com/phpmaker/">PPMaker 7</a>
<li><a href="http://www.scriptcase.net/phpgenerator/home/home.php">ScriptCase</a>
<li><a href="http://xataface.com/">Xataface</a>
</ul>]]></description>
      <pubDate>Wed, 27 Oct 2010 11:48:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Erik's Blog: PHP implementation of an LALR1 parser generator]]></title>
      <guid>http://www.phpdeveloper.org/news/13869</guid>
      <link>http://www.phpdeveloper.org/news/13869</link>
      <description><![CDATA[<p>
<i>Erik</i> has <a href="http://sankuru.biz/en/blog/7-figuring-out-compiler-technology/121-php-implementation-of-an-lalr1-parser-generator.html">posted about a new parser he's created</a>, one based on the <a href="http://en.wikipedia.org/wiki/LALR_parser">LALR parser method</a>, that can be <a href="http://sankuru.biz/downloads/lrparsers.zip">downloaded here</a> [zip].
</p>
<blockquote>
Parser tables, along with a lexer table, are the core constituents of any compiler's front end. This LALR parser generator is heavily based on my custom Php version of the <a href="http://en.wikipedia.org/wiki/MapReduce">map/reduce programming technique</a> (functional programming). I will elaborate in future posts, on why I used a map/reduce basis to implement the parser generator.
</blockquote>
<p>
Parsers organize a set of tokens based on the rules of a formal language the parser is given. Several of the grammar text files are included in the download so you can test it out for yourself. For more on the topic check out <a href="http://sankuru.biz/en/blog/7-figuring-out-compiler-technology/122-the-need-for-lalr1-packrat-parsers.html">these</a> <a href="http://sankuru.biz/en/blog/7-figuring-out-compiler-technology/123-the-essence-of-map-reduce-programming.html">two</a> posts.
</p>]]></description>
      <pubDate>Tue, 19 Jan 2010 13:03:57 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: CodeWorks DreamSchedule Generator]]></title>
      <guid>http://www.phpdeveloper.org/news/12911</guid>
      <link>http://www.phpdeveloper.org/news/12911</link>
      <description><![CDATA[<p>
If you're planning on attending any of the stops on this year's <a href="http://cw.mtacon.com">CodeWorks 2009</a> conference, you should check out <a href="http://phparch.com/main/news/view/47">this fun tool</a> you can use to narrow down your choices from the thirty or so talks to something a bit more manageable: 
</p>
<blockquote>
Conferences are always busy-there are people to meet, new subjects to learn, gadgets to envy, and so on. Among all the fun stuff, it's difficult to keep track of exactly what you want to attend. [...] Fear not! Our development team has come to your rescue with a new tool exclusive to CodeWorks 09: the <a href="http://cw.mtacon.com/schedule/custom">DreamSchedule Generator</a>, which you can use to create your very own customized CodeWorks schedule.
</blockquote>
<p>
The tool lets you pick the city of your choice and select each of the talks, one in each time slot, you want to attend. Name the schedule and you'll get a custom URL you can use to refer back to which sessions you wanted to attend. You can also send it out via Twitter if you'd like others to know where you'll be.
</p>]]></description>
      <pubDate>Tue, 21 Jul 2009 09:05:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[FlexandAir.com: CRUDdy Buddy - Zend_Amf Code Generator]]></title>
      <guid>http://www.phpdeveloper.org/news/11343</guid>
      <link>http://www.phpdeveloper.org/news/11343</link>
      <description><![CDATA[<p>
The Flex and Air blog has <a href="http://flexandair.com/?p=19">posted about</a> a tool that can be used to jump-start your Zend_Amf powered application - CRUDdy Buddy.
</p>
<blockquote>
CRUDdy Buddy is an AIR application I created to generate the code necessary to get started on a Zend_Amf project.  It creates all of the PHP necessary, along with ActionScript classes and &lt;mx:RemoteObject> tags you can paste into your Flex or AIR application.
</blockquote>
<p>
They have <a href="http://www.vimeo.com/2128472">a video</a> on Vimeo showing it in action. You'll need the Adobe AIR runtime to be able to use it, but that's a simple and quick install. There are versions for both <A href="http://flexandair.com/files/CRUDdyBuddy-Mac.air">Mac</a> (using Mac-specific fonts) and <a href="http://flexandair.com/files/CRUDdyBuddy_Win-Lin.air">Windows/Linux</a> (using Arial). You can download a PDF of the documentation <a href="http://flexandair.com/files/usageNotes.pdf">here</a>.
</p>]]></description>
      <pubDate>Tue, 04 Nov 2008 12:54:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Skaldrom's Blog: Want to create your own progranning language? Lexer & Parser in PHP!]]></title>
      <guid>http://www.phpdeveloper.org/news/8963</guid>
      <link>http://www.phpdeveloper.org/news/8963</link>
      <description><![CDATA[<i>Skaldrom</i> passed along a <a href="http://blog.oncode.info/2007/10/25/eine-eigene-programmiersprache-erschaffen-lexer-und-parser-in-php/">link to an article</a> he's written up to show how to use one of the more powerful PEAR packages in a simple "Hello World" kind of script - the <a href="http://pear.php.net/package/PHP_LexerGenerator">PHP_LexerGenerator</a> and <a href="http://pear.php.net/package/PHP_ParserGenerator">PHP_ParserGenerator</a> packages.
</p>
<blockquote>
Who doesn't dream about it: Your own programming language, because the syntax and the word are expression! A step continue to go to ascend and from the programming language user to the language creator! This is now possible in PHP, but unfortunately only with minimum documentation.
</blockquote>
<p>
He <a href="http://blog.oncode.info/2007/10/25/eine-eigene-programmiersprache-erschaffen-lexer-und-parser-in-php/">provides an example</a> of the Lexer/Generator in action - handling a simple mathematical operation. The execution code is first with the Lexer definition file and the code for the parser following. Lastly, he has included the code to make things work - passing the test string into his custom Lexer which is passed off to the Parser and a value returned.
</p>]]></description>
      <pubDate>Fri, 02 Nov 2007 11:12:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Developing a Captcha Application with an Image Generator Class with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/8779</guid>
      <link>http://www.phpdeveloper.org/news/8779</link>
      <description><![CDATA[<p>
DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Developing-a-Captcha-Application-with-an-Image-Generator-Class-with-PHP-5/">the next (and last) part</a> of their series on image generation with PHP, creating a class to handle most of the work for you and implement the graphics functionality (GD) PHP has built in. This time, they take things a step further and use the class they've created so far to make CAPTCHA images for a site.
</p>
<blockquote>
In this last article of the series I'm going to show you how to couple this class with a simple randomizer mechanism to implement a basic yet effective application that will be capable of outputting on the browser different random strings, which  will be previously embedded into a predefined image stream.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Developing-a-Captcha-Application-with-an-Image-Generator-Class-with-PHP-5/1/">start with their previous version</a> of the class and work off of it, extending its functionality to add a multi-call ability and to hook into a RandomGenerator class to create the string.
</p>]]></description>
      <pubDate>Wed, 03 Oct 2007 12:58:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Building an Image Generator Class with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/8758</guid>
      <link>http://www.phpdeveloper.org/news/8758</link>
      <description><![CDATA[<p>
In a <a href="http://www.devshed.com/c/a/PHP/Building-an-Image-Generator-Class-with-PHP-5/">new tutorial</a> today from DevShed, they introduce you to one of the more powerful bits of PHP functionality - the graphics manipulation functions - and how to use them to create an image generator class in PHP5.
</p>
<blockquote>
In simple terms, over the course of this brand new PHP series, which will be comprised of three friendly tutorials, I'll walk you through the development of an easy-to-follow PHP class that will have the ability to build dynamic text strings, which will be outputted straight to the browser in the form of image streams.
</blockquote>
<p>
This part part of the series lays the foundation, creating the <a href="http://www.devshed.com/c/a/PHP/Building-an-Image-Generator-Class-with-PHP-5/1/">basic structure</a> of the class and the buildImageStream and displayImage methods. This is then used in a sample use - creating images, white text on a black background.
</p>]]></description>
      <pubDate>Mon, 01 Oct 2007 12:57:00 -0500</pubDate>
    </item>
  </channel>
</rss>

