News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SpinDrop.us:
Cropping Images using DHTML (Prototype) and symfony
September 16, 2006 @ 16:29:53

From the SpinDrop.us blog, there's a new tutorial on combining the power of dynamic HTML and PHP to create an image cropping script for your website.

Years ago when I was working on a photo gallery for davedash.com 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.

Flashback to today, for my company... 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.

They create a pretty slick little app, 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 check out the demo here.

1 comment voice your opinion now!
cropping images dhtml prototype css frontend resize symfony cropping images dhtml prototype css frontend resize symfony


IBM developerWorks:
Devise Web 2.0 applications with PHP and DHTML (Part 1)
May 05, 2006 @ 07:09:04

The IBM developerWorks site has started a new series of articles today with the posting of this new tutorial focusing on the creation of Web 2.0 applications with the help of PHP and DHTML.

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.

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.

For each of the items, 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.

0 comments voice your opinion now!
dhtml javascript web2.0 application tutorial part1 dhtml javascript web2.0 application tutorial part1



Community Events





Don't see your event here?
Let us know!


deployment list interview introduction voicesoftheelephpant api series podcast bugfix tips zendserver developer library laravel symfony community language framework conference release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework