Archive for January 7th, 2008
PHP Developer - January 7th, 2008
DevShed continues their series looking at some of the fundamentals of working with PHP in this new tutorial posted today. It looks at one of the flow control statements the language has to offer and a very useful data structure - the switch statement and arrays.
In our last exciting adventure (back in early November), we braved crocodiles, ravenous editors, most of the PHP statements, and beginning loops. In this edition we’ll cover the final statement, the Switch, and discuss arrays. So sit back, order your R2D2 robot to bring you a cold, frosty Jolt Cola, and let’s get cracking.
They start with a simple example of a switch statement (to echo out strings) and follow it with a detailed description of the different sorts of arrays - numeric indexed, associative and multidimensional versions.
Continue Reading ·
PHP Developer - January 7th, 2008
As mentioned on the Zend Developer Zone, the CakePHP group has officially announced this year’s CakeFest Conference being held in Orlando, Florida.
With the recent launch of CakePHP 1.2 beta, the Cake world is now more active than ever. What better way to keep up with the latest than joining CakePHP’s core team and prominent developers in three exciting days of CakePHP programming talks.
You can get full details about three day event from the conference page including a way to submit your talk proposal (it ends January 21st, 2008 so hurry!) and information on the area and a link to signup.
Continue Reading ·
PHP Developer - January 7th, 2008
Paul Reinheimer, one of two behind the funcaday website (providing details on one PHP function each day and special content on the weekends) has posted a supplement to this weekend’s posting covering escaping.
The disadvantage with the escape for now, not for later approach is simple. If you save a user’s post to the database, then that user’s post is displayed 2,000 times there will be some serious differences. […] You will need to balance your security concerns with performance needs.
The comments on his post back up his suggestions (and include other tips like a recommendation to cache on an even higher level - page blocks).
Continue Reading ·
PHP Developer - January 7th, 2008
The CakePHP podcast, The Show, has released its latest episode - episode #6, “Babbling ‘Bout Beta”:
The Show is back! Garrett, Nate, and Jeff talk about the recent release of CakePHP 1.2 Beta. Don’t miss this show as we broadcast from every timezone in America simultaneously.
The show was recorded back on January 5th, but you can still download the mp3 from it to listen to at your continence. You can also subscribe to their feed to get the latest information on the podcast and news about the latest shows.
Continue Reading ·
PHP Developer - January 7th, 2008
The DeveloperTutorials website has a new tutorial posted that walks the reader through a step-by-step process to create a PHP Facebook application of their very own.
Everyone is talking about Facebook and their new Application Platform and I have to admit I think it’s pretty cool too. So I decided to create an application that uses the Facebook Platform. I’m writing the application in PHP and I thought it might be useful for others to know how to write their own Facebook applications with PHP.
They show you where you’ll need to go to set up an ID with Facebook to develop with, the developer application you’ll need to add, where to grab the Facebook developer API and, finally, creating a simple application.
Their example is just of the “Hello World” sort, but it gives you a good foundation to start from. They also include pointers to the Facebook Markup Language and a reference for the Facebook REST-based API interface.
Continue Reading ·