 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
IBM developerWorks: Developing PHP the Ajax way, Part 2 - Back, Forward, Reload
by Chris Cornutt June 08, 2006 @ 06:04:23
IBM developerWorks has posted the second part of their series covering the development of PHP and Ajax to create a photo gallery application. In this part, they work off of the gallery already created in part one, taking care of one issue that plagues Ajax application - the breaking of the back button.
A major challenge of Asynchronous JavaScript and XML (Ajax)-driven Web sites is the lack of a Back button. We will use JavaScript to create a history stack for the Ajax photo gallery built in Part 1 of this two-part "Developing PHP the Ajax way" series. This history stack will closely mirror the history utility found in Web browsers, and it will be used to provide Back, Forward, and Reload buttons for the application.
They start with a look at what it means to "save state" in the browser, including the use of the Back button to navigate between pages. Seeing that Ajax breaks this, they move ahead with a simple solution - creating an internal history stact for the application and use its own navigation methods. They provide some examples images to use and all of the code you'll need to accomplish this.
They create a class using the popular Prototype javascript library to create functions like do_add, do_back, and do_forward to correctly handle the adding and deleting of the items from the stack. Once that script is developed, they take and integrate it back with the photo gallery from part one.
voice your opinion now!
php ajax developing tutorial part2 photo gallery back button history php ajax developing tutorial part2 photo gallery back button history
Des Traynor's Blog: I hated php back when it was cool
by Chris Cornutt February 23, 2006 @ 07:26:24
Des Traynor shares some of his opinions on PHP in his latest blog post - "I hated php back when it was cool".
This is a short smug entry, written in the "Yeah, well I liked them before they even had a record deal" style associated with trend snobs. Except in this case, its the opposite, I am claiming that I hated something back when it was cool. Thanks to blogging my opinion earlier, I even have proof! PHP should stand for Pretty Huge Problem.
He mentions some of the rants, langauge switchers, and general complaints that have come up about PHP, including the combination of code and HTML, the "safe mode" feature, and PHP's "battered on" nature of development. He also goes off a bit on the (inevitable) backlash that Rails and Ajax will see in the future, and wonders how far off it will be.
voice your opinion now!
php hate back when cool complaints rants backlash rails ajax php hate back when cool complaints rants backlash rails ajax
PHPit.net: Back to basics - PHP & Arrays
by Chris Cornutt January 11, 2006 @ 06:55:49
PHPit.net goes "back to the basics" today with this new post - a look at the basics of how PHP handles arrays and how to use them effectively.
Lately the internet has been on a real fast track, and there have been many new developments, like Ajax, Web 2.0, Tags, and other interesting (and often hyped up) things. But this tutorial won't go there at all, and goes back to the beginning with the basics: using arrays in PHP.
If you're a seasoned PHP developer, who knows arrays like the back of his hand, this might be an article you'd want to skip. But if you're still unsure how arrays work, or if you're just curious about a few things, read on and learn more about arrays in PHP.
This is a very basic article, and doesn't give much in the way of any "array tricks" either. Array functions aren't even covered (mostly) - just how to create and update arrays in your code. But for a beginner, that's all you need...
voice your opinion now!
php arrays back to basics create update associative php arrays back to basics create update associative
Robert Peake's Blog: Where is PHP Going?
by Chris Cornutt January 02, 2006 @ 07:19:27
Robert Peake has a new post today with a brief look at where PHP has come from and some of his opinions on the future of PHP in 2006.
We saw the release of PHP 5.1, the renaming of the CSV trunk to 6.0 (in attempts to beat Perl to the punch, apparently), massive security concerns raised by applications ranging from phpBB to Mambo, Zend's numerous partnerships and announcement of the Zend framework, great improvements to Pear, more conferences, more enthusiasm, more realization from the enterprise that PHP is where web application development is headed.
So, where is PHP going from here?
He predicts that the increased push Zend is making for the framework will continue to help improve PHP's image, especially with some of the hurdles PHP has to overcome (including security issues and getting past other lingering problems from PHP's past).
voice your opinion now!
php where going look back future zend php where going look back future zend
Derick Rethans' Blog: PHP Look Back 2005
by Chris Cornutt January 02, 2006 @ 07:08:04
Derick Rethans has posted his own look back at all of the happenings that went on back in 2005.
Welcome to the fourth installment of the PHP Look Back. Just as in previous years, we'll look back on PHP development discussions, bloopers and accomplishments of the last year. This is not supposed to be a fully objective review of last year--note that the opinions in this article are that of the author, and not of the PHP development team.
He covers each month, giving the happenings for each month, linking to various posts and items in each one. Most of the things discussed are more related to the internal PHP development and discusssions from the mailing lists.
voice your opinion now!
php look back 2005 links months php look back 2005 links months
Site News: A (Lengthy) Look Back at PHP in 2005
by Chris Cornutt December 31, 2005 @ 12:32:31
In an effort to know where the PHP community has been (and where it will be going), I've posted this lengthy summary over on our blog today with a look back at what made up 2005 for all of the PHPers out there.
Well, here it is, the end of another year and it's times like thes ethat it's always fun to take a look back to where we've come from and how far we've made it on various projects. The PHP community has come so far from those early days of January, and I thought I'd take my own look back via some of the news posts that I've made over on PHPDeveloper.org in the past year (almost 2000 of em) and see which ones stuck out. So, bear with me on this - I know I'll miss a few of the biggies, but I'm going to try to highlight things in each month that really effected the community as a whole.
So, enjoy the read - most of the highlights are there (as well as a few of the problems that happened along the way). Hope you enjoy - and have a happy new year!
voice your opinion now!
php look back 2005 lengthy year php look back 2005 lengthy year
|
Community Events
Don't see your event here? Let us know!
|