Subscribe

I have moved to newlyancient.com and will be writing regularly there! Content on this domain is no longer updated, but will be maintained as an archive in its original form.

Tag Archive for 'tech'

Review of AJAX and PHP: Building Responsive Web Applications

This review has been cross-posted from the Unofficial Dreamhost Blog, which graciously provided me with a free review copy.

AJAX and PHP

We’ve all heard about that powerful little engine running the latest and greatest websites: AJAX. As developers, many of us probably understand the basics of AJAX, since the technologies behind it (JavaScript and XML) aren’t exactly new. Yet, we’re hesitant to take that first step into using the technology. That’s where AJAX and PHP: Building Responsive Web Applications steps in with a thorough explanation of AJAX and a plethora of satisfying use cases. With a promise to teach us "how to create better PHP Web Applications by using AJAX technologies to their full potential," we are given a sherpa to help us up the pinnacle of AJAX.

Though the book assumes a basic familiarity with JavaScript and PHP, plenty of attention is paid to the basics. The first chapter delves into some history of the web and an explanation of the buzz around AJAX. It concludes with a quick AJAX application to get you started right away. With a wave of a wand, chapter 2 appears with a solid grounder in the magic of the DOM and smarter JavaScript. Chapter 2 also integrates a primer on XML and its power. With the client satisfied, chapter 3 delves into detail upon the server end of things with lessons upon PHP and MySQL. For the noobs among us,  an appendix is included which details setting up the environment with Apache, MySQL, and PHP. Whether you have never touched a line of PHP in your life or are simply looking to expand your skill set to the client side, "AJAX and PHP" has the basics you need.

With the nitty-gritty technical aspects out of the way, the rest of the book is devoted to various case studies. This is where the true value is found: the examples are both practical and exciting. With the mundane form validation and autosuggest out of the way, even more exciting case studies are introduced. In Chapter 5, we learn about building an AJAX-based web chat application. In Chapter 7, we are introduced to the power of SVG (scalable vector graphics) and how it can be combined with AJAX. For me, the most interesting chapter was chapter 8 which addresses a critical issue in our data-rich world: presenting long tables in an eye-catching and usable manner. Here, we are given a primer on XSLT and grid-based display. Throughout the book, you find sprinkles of useful examples which will certainly come in handy with the continual emphasis upon cloud computing in today’s marketplace.

Despite the strong case studies, "AJAX and PHP" falls short in some critical areas. Most importantly, there is no attention paid to the plethora of JavaScript libraries out there. This is unfortunate, since most of us will end up using a library to automate the simple, repetitive tasks. Additionally, the code samples often are far longer than needed, sometimes stretching over many pages. That being said, the book’s companion site offers downloads of all the case studies to get you started. Overall, AJAX and PHP: Building Responsive Web Applications is a strong primer on AJAX and a useful reference for the variety of practical AJAX applications.

HabariCon

I’m excited to be here at the iPony headquarters for HabariCon ‘08. If you aren’t familar with Habaricon, it is “the annual Habari Convention, uniting the user and developer communities in friendship and collaboration.” Habari is a great new blogging platform I have recently gotten involved with. The community is great, and I really look forward to meeting some of the giants of development, like Skippy and Chris J. Davis.

This will be a fantastic and educational event which will highlight the excellence of the Habari community. I am told that the sessions will be recorded, but I will be live-blogging the sessions for those of you who didn’t make the registration deadline. Finally, there is supposed to be a major announcement in the closing keynote, which I will be sure to tell you about as soon as I find it.

Live Blog

Skippy coming on stage now; a great introduction by Skippy, who organized the conference. iPony’s facilities are great! Skippy talking about the importance of community: without a good community, no software can be successful. Etc, etc. He says this is true for everything, not just software. He has a point: every business and project needs a strong community. “People are the project.” Now he’s talking about importance of keeping community appear open, but also keeping it “pure.” Semi-permeable membrane type of situation: let in the good contributions, keep out the bad. he says it’s a balancing act. I agree, not easy to contrast the needs of the community with the needs of the software. Finally, he is thanking the organizers of Habaricon. I’d like to thank them to: this is shaping up to be a great conference. Off to grab some donuts…

Unfortunately, there was a wifi outage and I couldn’t blog the first two sessions. Suffice to say that they were fabulous. I’m writing this as I eat a cheese sandwich provided by the wonderful Everything 2.0, a very innovative startup I have recently learned about. (Their public website isn’t launched yet, so I can’t link to them)

The Cabal is The Community truly was an interesting discussion of supporting the community, while also furthering the goals of the founders. Though the ethics were questionable, some questions were very interesting. In education, this an issue which has some very real applications: students should be included in curriculum and program design, but their contributions should be suitably filtered. This session worked with the issues of contrasting openness and security/quality.

Sorry for dropping the live blog folks. I’ll be back later after the keynote and a discussion with some of the devs with more thoughts. (And the scoop on the special announcement in Keynote)

The special announcement: this was actually a joke. April Fool’s! The Habari team and I had a great time putting this on.

Bubble 2.0

While I usually don’t share random videos, I would like to show how to practice some good digital citizenship. While we can do nothing to stop people from making despicable content, we can promote interesting and fun content which is not inappropriate. I’ll have more to say on the subject of digital citizenship once I’ve had time to think out and process this great post. Until then, I leave you with this example of good digital citizenship which can also be fun:

blog, blog, blog it all
blog it if it’s big or small

…blog even if you’re wrong
won’t you blog about this song?

You bet I will! In other news, I’m still looking for your vote. I hope to see you at the awards ceremony in Second Life. I’m also looking for support on my way to EduCon 2.0: if you are passionate about bringing student voices into education the donation widget is in my sidebar.