<?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>Sat, 18 May 2013 20:02:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SpinDrop.us: Cropping Images using DHTML (Prototype) and symfony]]></title>
      <guid>http://www.phpdeveloper.org/news/6286</guid>
      <link>http://www.phpdeveloper.org/news/6286</link>
      <description><![CDATA[<p>
From the SpinDrop.us blog, there's <a href="http://spindrop.us/2006/09/16/cropping-images-using-dhtml-prototype-and-symfony/">a new tutorial</a> on combining the power of dynamic HTML and PHP to create an image cropping script for your website.
</p>
<blockquote>
<p>
Years ago when I was working on a photo gallery for <a href="http://davedash.com/">davedash.com</a> I got the art of making tumbnails down fairly well. It was automated and didn't allow for specifying how the thumbnail should be made. With dozens of photos (which was a lot back then), when would I find that kind of time.
</p>
<p>
Flashback to today, for <a href="http://workface.com/">my company</a>... we want users with avatars... but nothing too large. Maybe a nice 80x80 picture. Well the coolest UI I've seen was Apple's Address Book which let you use this slider mechanism to crop a fixed sized image from a larger image.
</p>
</blockquote>
<p>
They create a pretty <a href="http://spindrop.us/2006/09/16/cropping-images-using-dhtml-prototype-and-symfony/">slick little app</a>, using symfony to handle the framework for the app, some Javascript in the form of Prototype to make the controls, and plenty of CSS/HTML to make it usable. You can <a href="http://demos.spindrop.us/image_cropper/">check out the demo here</a>.
</p>]]></description>
      <pubDate>Sat, 16 Sep 2006 16:29:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: Devise Web 2.0 applications with PHP and DHTML (Part 1)]]></title>
      <guid>http://www.phpdeveloper.org/news/5316</guid>
      <link>http://www.phpdeveloper.org/news/5316</link>
      <description><![CDATA[<p>
The IBM developerWorks site has started a new series of articles today with the posting of <a href="http://www-128.ibm.com/developerworks/opensource/library/os-php-dhtml1/">this new tutorial</a> focusing on the creation of Web 2.0 applications with the help of PHP and DHTML.
</p>
<quote>
<i>
The buzzword of 2006 is Web 2.0. What that means is hotly debated, but it appears to refer to cool dynamic Web applications. Those Web applications -- often developed in PHP -- use dynamic HTML (DHTML) to create pages that move and change without having to go back to the server for a refresh. Author Jack Herrington explains how to get started in this "Devise Web 2.0 applications with PHP and DHTML" series.
</i>
</quote>
<p>
Though the term DHTML is becoming a bit more scarce than it once was (being replaced by phrases like "dynamic pages with Javascript" or "javascript DOM manipulation"), it's still a powerful ally when combined with a flexible backend like PHP. They provide a few examples of applications that can be built with this combination including popup ad boxes, general popups, spinners (show/hide blocks of HTML), and tabs.
</p>
<p>
For each of <a href="http://www-128.ibm.com/developerworks/opensource/library/os-php-dhtml1/">the items</a>, they give both the HTML and PHP code to get the job done, making it a simple matter of grabbing the code and pasting it into your favorite editor to get started. The next part of the article series will cover the creation of dynamic graphs and the creation of new HTML elements with the help of Javascript.
</p>]]></description>
      <pubDate>Fri, 05 May 2006 07:09:04 -0500</pubDate>
    </item>
  </channel>
</rss>
