<?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>Sun, 12 Feb 2012 20:17:04 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Tracking Upload Progress with PHP and JavaScript]]></title>
      <guid>http://www.phpdeveloper.org/news/17503</guid>
      <link>http://www.phpdeveloper.org/news/17503</link>
      <description><![CDATA[<p>
In a new tutorial today from PHPMaster.com, they show you how to <a href="http://phpmaster.com/tracking-upload-progress-with-php-and-javascript/">combine Javascript and a PHP feature</a> to track the progress of an upload to your web application.
</p>
<blockquote>
A problem that has plagued web developers for years is how to add real-time information to their applications, such as a progress bar for file uploads. [...] JavaScript can access a file's name, type, and even the width and height of a local image, but it wasn't until <a href="http://stackoverflow.com/q/4112575/322819">HTML5 that it could access a file's size</a>. [...] In this article I'll show you how [the session.upload_progress] feature can be used to create a simple upload progress bar without any external libraries or browser dependencies.
</blockquote>
<p>
The tutorial provides all the steps you'll need to get it working - defining the form with the extra required field, styling it and plugging the Javascript in to call a small script to get the progress of the upload. It returns the difference between the content-length of the file and the current size (as a percentage of 100).
</p>]]></description>
      <pubDate>Mon, 06 Feb 2012 13:58:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Script-Tutorials.com: Form Validation with Javascript and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17486</guid>
      <link>http://www.phpdeveloper.org/news/17486</link>
      <description><![CDATA[<p>
On the Script-Tutorials.com site today there's a <a href="http://www.script-tutorials.com/form-validation-with-javascript-and-php/">new tutorial about form validation</a> using a combination of jQuery on the frontend and PHP on the backend.
</p>
<blockquote>
In this tutorial, I will show you how to create an attractive, pleasant to look form for your website and then I will explain you how to dynamically validate them using Javascript. We'll also cover server-side validation with PHP to make everything 100% safe. This tutorial will help you to add more functionality to your forms which leads to better user experience and better quality of your website.
</blockquote>
<p>
His sample form (name, password, email and gender) is made from some pretty simple HTML markup. The real trick comes with the jQuery validation on each field handled in an onKeyUp. Included are both a "password strength" method and an email validation method to check the format of the address. Errored fields have their background color changed to indicate that they've failed and some basic validation (length, password match, etc.) are also included. The PHP does much of the same validation once the form is posted and returns any error messages that might have come up.
</p>
<p>
You can <a href="http://www.script-tutorials.com/demos/228/source.zip">download the code</a> or try out a <a href="http://www.script-tutorials.com/demos/228/index.php">live demo</a> to see the scripts together in action.
</p>]]></description>
      <pubDate>Thu, 02 Feb 2012 09:07:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tales of a Coder: What are the Essential PHP/Javascript/Web Development Feeds?]]></title>
      <guid>http://www.phpdeveloper.org/news/17315</guid>
      <link>http://www.phpdeveloper.org/news/17315</link>
      <description><![CDATA[<p>
On the "Tales of a Coder" blog today there's a new post trying to gather some of the more popular web resources for PHP, Javascript and general web development and <a href="http://codertales.wordpress.com/2011/12/28/what-are-the-essential-php-javascript-web-development-feeds/">provide a set of links</a> to make them easier to get to.
</p>
<blockquote>
What feeds do the super star PHP/ JavaScript web developers subscribe to?  What are the essential PHP/ JavaScript/ Web Development feeds? I have shared my fledgling list below.  Many of these feeds were recommended by my friends at <a href="http://www.phpwomen.org/">PHPWomen</a>, others I somehow stumbled across myself and some I picked up from articles tweeted with the #linktuesday hashtag, which are <a href="http://linktuesday.com/">aggregated here</a>. 
</blockquote>
<p>
So far, the links include <a href="http://www.phparch.com/feed/">php|architect</a>, <a href="http://www.planet-php.org/rss/">Planet-PHP.net</a>, the <a href="http://feeds.yuiblog.com/YahooUserInterfaceBlog">YUI blog</a>, <a href="http://feeds.feedburner.com/mattgemmell/rss2">Matt Gemmell's blog</a> and <a href="http://www.goer.org/Feeds/journal.atom">Evan Goer's blog</a>. If you have others to share, be sure to <a href="http://codertales.wordpress.com/2011/12/28/what-are-the-essential-php-javascript-web-development-feeds/#comments">leave them in the comments</a>!
</p>]]></description>
      <pubDate>Wed, 28 Dec 2011 10:07:53 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: Building a Gimmebar Sidebar]]></title>
      <guid>http://www.phpdeveloper.org/news/17114</guid>
      <link>http://www.phpdeveloper.org/news/17114</link>
      <description><![CDATA[<p>
Following along the lines of <a href="http://phpdeveloper.org/news/17093">this post from <i>Ed Finkler</i></a> about working with the <a href="http://gimmiebar.com">Gimme Bar API</a>, <i>Chris Hartjes</i> has chimed in with <a href="http://www.littlehart.net/atthekeyboard/2011/11/07/building-a-gimmebar-sidebar/">his own post</a> about creating his sidebar based on the same source.
</p>
<blockquote>
Funkatron was kind enough to put together a blog post about <a href="http://funkatron.com/posts/building-a-tumblelog-with-gimme-bar-and-php.html">building a Tumblelog with Gimme Bar and PHP</a> so I told him I would write up what I did on my own blog. One of my intents was to use the <a href="https://gimmebar.com/api/v0">Gimme Bar API</a> to pull in a list of my latest Gimmies for the sidebar on this blog. Ed had posted a very simple example in Javascript (I cannot remember where it is) so I took it and ran with it to modify it to work with <A href="http://octopress.org/">the blogging software</a> used here.
</blockquote>
<p>
He includes the simple javascript, about 15 lines of it, that pulls the latest "gimmies" from his own feed and posting them as sidebar items (as you can see right next to the code snippet).It uses a combination of <a href="http://ender.no.de/">Ender.js</a>, <a href="https://github.com/ded/reqwest">Reqwest</a>, <a href="http://documentcloud.github.com/underscore/">Underscore</a> and regular javascript to get the job done.
</p>]]></description>
      <pubDate>Thu, 10 Nov 2011 12:54:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[CodeForest.net: Obfuscate your e-mail address with PHP, JavaScript and CSS]]></title>
      <guid>http://www.phpdeveloper.org/news/17046</guid>
      <link>http://www.phpdeveloper.org/news/17046</link>
      <description><![CDATA[<p>
A new post on CodeForest.net today gives you a technique for <a href="http://www.codeforest.net/obfuscate-your-email-address-with-php-javascript-and-css">obfuscating email addresses</a> with a combination of PHP, CSS and Javascript. It uses ROT13 for the obfuscation and some tricky CSS to keep it usable for the human visitors.
</p>
<blockquote>
According to <a href="http://en.wikipedia.org/wiki/E-mail_spam#Statistics_and_estimates">Wikipedia</a>, more than 97% of all e-mails sent over the net are unwanted. That's around 200 billion spam messages per day. To keep this insane amount of spam out of your inbox, you should keep your e-mail safe when you display it on web. One of the ways to keep it safe is to obfuscate it. In this tutorial I'll show you how to create a script that will do just that.
</blockquote>
<p>
<a href="http://www.codeforest.net/demo/obfuscateEmailAddress.rar">The script</a> converts the email address into a <a href="http://en.wikipedia.org/wiki/ROT13">ROT13 obfuscated</a> versions and reverse it. The spam bots harvesting addresses won't see it as a valid format but the user, thanks to some CSS rules, will see it and be able to copy it easily. Each part of the script is explained in <a href="http://www.codeforest.net/obfuscate-your-email-address-with-php-javascript-and-css">the post</a> and you can see a <a href="http://www.codeforest.net/demo/obfuscateEmailAddress/demo.php">demo of it in action here</a>.
</p>]]></description>
      <pubDate>Wed, 26 Oct 2011 12:39:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Script-Tutorials.com: Autocomplete with PHP, jQuery, MySQL and XML]]></title>
      <guid>http://www.phpdeveloper.org/news/16981</guid>
      <link>http://www.phpdeveloper.org/news/16981</link>
      <description><![CDATA[<p>
In <a href="http://www.script-tutorials.com/autocomplete-with-php-jquery-mysql-and-xml/">this new tutorial</a> from Script-Tutorials.com they show you how to combine PHP, <a href="http://jquery.com">jQuery</a>, <a href="http://mysql.com">MySQL</a> and XML to create an auto-complete box with drop-down suggestions.
</p>
<blockquote>
Today I have new article for PHP. I will tell you about implementation autocomplete for your sites. Data can be located in different sources - directly in the JS code, in the database, and even in the XML file.
</blockquote>
<p>
All of the code and markup you'll need is included - the HTML for the page containing the field, CSS to style it, the Javascript (jQuery) to make the field work and the SQL/PHP/XML for the backend. You can check out a live demo of the script in action <a href="http://www.script-tutorials.com/demos/160/index.html">here</a> or <a href="http://www.script-tutorials.com/demos/160/source.zip">download the source</a> in a single package and get started.
</p>]]></description>
      <pubDate>Wed, 12 Oct 2011 08:54:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Project: Zend Framework Google Analytics Code Generation]]></title>
      <guid>http://www.phpdeveloper.org/news/16764</guid>
      <link>http://www.phpdeveloper.org/news/16764</link>
      <description><![CDATA[<p>
<i>Martin Aarhof</i> has put together <a href="https://github.com/lsv/zf-maa_analytics">an handy tool</a> for Zend Framework applications that creates the async javascript analytic code recommended by Google to provide tracking information back to Analytics.
</p>
<blockquote>
It supports: browser Settings Detection, campaign Duration, campaign Fields (custom), cross-domain linking and last but not least Ecommerce tracking.
</blockquote>
<p>
The configuration lets you set the various keys for your Analytics accounts, the domain name for it to live under, browser detection settings and various other settings for <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiCampaignTracking.html">campaign configuration</a> and <a href="http://code.google.com/apis/analytics/docs/gaJS/gaJSApiDomainDirectory.html">domain setup</a>. You can find the full code on <a href="https://github.com/lsv/zf-maa_analytics">his github account</a> ready to download or clone.
</p>]]></description>
      <pubDate>Wed, 24 Aug 2011 09:46:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Gareth Heyes' Blog: PHP CSSReg]]></title>
      <guid>http://www.phpdeveloper.org/news/16757</guid>
      <link>http://www.phpdeveloper.org/news/16757</link>
      <description><![CDATA[<p>
<i>Gareth Heyes</i> has a <a href="http://www.thespanner.co.uk/2011/08/18/php-cssreg/">recent post</a> pointing out the port of a project of his, <a href="http://www.thespanner.co.uk/category/cssreg/">CSSReg</a> (a filtering tool for user-provided stylesheets) over to PHP.
</p>
<blockquote>
Just a quick post to mention the excellent work by Norman Hippert aka <a href="http://twitter.com/thewildcat">@thewildcat</a>, he successfully converted my Javascript based CSSReg into PHP. I was meaning to do this but never found the time so it's pretty awesome that not only did thewildcat convert the code but found some nice bugs in my code and fixed them. Great work Norman thanks very much!
</blockquote>
<p>
You can see a demo <a href="http://ent.the-wildcat.de/cssreg/index.php">of it here</a> and grab the source <a href="http://www.businessinfo.co.uk/labs/CSSReg/cssreg.zip">as a download here</a>. You can find out more about the origins of CSSReg (and some of its siblings) in <a href="http://www.thespanner.co.uk/2010/05/05/regular-expression-sandboxing/">this other post</a> from <i>Gareth</i>.
</p>]]></description>
      <pubDate>Tue, 23 Aug 2011 10:21:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Assetic: JavaScript and CSS files management]]></title>
      <guid>http://www.phpdeveloper.org/news/16679</guid>
      <link>http://www.phpdeveloper.org/news/16679</link>
      <description><![CDATA[<p>
On DZone.com today <i>Giorgio Sironi</i> <a href="http://css.dzone.com/articles/assetic-javascript-and-css">introduces you to Assetic</a>, an asset management tool that helps you keep things organized and easily requested by your application.
</p>
<blockquote>
<a href="https://github.com/kriswallsmith/assetic">Assetic</a> is a PHP library for managing the deployment of your assets: JavaScript, CSS and other resources which will be requested by the browser. The library has been created by <a href="http://kriswallsmith.net/">Kris Wallsmith</a> from OpenSky, an e-shop where many of the active members of the PHP community work, or worked (see <a href="http://jwage.com/">Jonathan Wage</a>/Doctrine 1 and <a href="http://avalanche123.com/">Bulat Shakirzyanov</a>/Imagine.)
</blockquote>
<p>
<i>Giorgio</i> compares it to the more traditional method (putting them in a public folder) and how Assetic gives you an advantage over this setup. The main feature of the tool is to bundle all of your assets into one file that is then sent to the browser and interpreted there reducing the need for HTTP calls to request multiple files. An example is included showing the creation of an asset collection and the output of the files all combined into one string.
</p>]]></description>
      <pubDate>Fri, 05 Aug 2011 09:19:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sander Marechal's Blog: A YuiCompressorFilter for Phing]]></title>
      <guid>http://www.phpdeveloper.org/news/16663</guid>
      <link>http://www.phpdeveloper.org/news/16663</link>
      <description><![CDATA[<p>
<i>Sander Marechal</i> has been working with <a href="http://phing.info">Phing</a> in some of his recent development and has created something useful for compressing Javascript and CSS files on the deployment of your application - <a href="http://www.jejik.com/articles/2011/07/a_yuicompressorfilter_for_phing//">a YuiCompressor task</a>.
</p>
<blockquote>
I am going to write several useful extensions, the first of which is a YuiCompressorFilter. Phing already has support for a JavaScrip minifier in the form of the JsMinTask, but the yui-compressor is more useful. Not only does it usually compress better than JsMin, it can also compress CSS files. Also, because my YuiCompressor extension is implemented as a filter instead of a task you can do fancy things like minifying and concatenating files in a single step.
</blockquote>
<p>
He includes both a sample of the task and it's configuration (the XML) in the post as well as a link to <a href="http://github.com/sandermarechal/phing-ext">its source</a> over on github.
</p>]]></description>
      <pubDate>Tue, 02 Aug 2011 09:16:37 -0500</pubDate>
    </item>
  </channel>
</rss>

