Zend Framework Data Layer Quickie
by Cal Evans (editor) |
0 comments | Friday, June 23, 2006
Alexander Netkachev is at it a again. This time he’s posted a quick read on the Zend_DB_Table and how to get started with it.
How I do love the cheat-sheets
by Cal Evans (editor) |
0 comments | Wednesday, June 7, 2006
Last month Davey Shafik, programmer, author, Zend Framework contributor and all around nice guy, released a PDF to help PHP programmers grasp what is necessary to turn filthy dirty, untrustworthy user input into refined data that can be safely used in your application.
l10n==Localization (See there are 10 letters...oh, you get it...ok)
by Cal Evans (editor) |
0 comments | Tuesday, June 6, 2006
Internationalization and Localization are concepts that all web sites and applications will have to deal with at some point. Why not design it form the start? Most people just don’t think about it but in an increasingly global society, you need to. The earlier you design for it, the easier it is to do.
Zip-It or DIY Tar-balls.
by Cal Evans (roving reporter) |
0 comments | Tuesday, May 23, 2006
Who hasn’t sat in front of their computer night after night wondering aloud – to only the monitor and the voices in their head – how they are going to build a zip file or tar ball dynamically using nothing more than PHP. I know that if I had actually thought this, it would have kept me up at nights. Thankfully, before it got that far, those wacky code monkeys over at PHPit have come up with a tutorial that walks you through just this very conundrum.
2 Beginners Guides I wish I had had when I started with PHP
by Cal Evans (roving reporter) |
1 comment | Monday, May 8, 2006
I hate repeating myself…I hate repeating myself…I hate repeating myself… So it’s time I learned to write recursive functions. Here’s a link to a tutorial on recursion in PHP as well as one on dynamically created graphics. (Charts)
Consuming Google Calendars with the Zend Framework
by John Herren (staff) |
5 comments | Tuesday, April 25, 2006
A couple of weeks ago, Google jumped into the online calendar space by launching Google Calendar (um, beta). The application is chock-full of Ajaxy goodness and plenty of features, but I'm here to talk about what you can do with your calendar data behind the scenes. Using some handy tools from the Swiss Army Knife that is the Zend Framework, I'll show you how to pull data from your Google Calendar into your site. Just for kicks, I'll also throw in a caching layer to keep things fast and reduce the network traffic between your server and Google.
PHP Gotchas!
by John Herren (staff) |
13 comments | Friday, April 21, 2006
Call them obscure, call them pointless, call them "newb mistakes." Whatever you call them, you've more than likely been tripped up at some point in your PHP coding journey by seemingly odd or illogical behaviors of the language. With PHP being a loosely-typed language, funny things are bound to happen. PHP is an easy language to pick up for the casual coder--things should "just work." But not everyone comes into PHP development with a strong programming background, so here are some charming examples of ways PHP can trip you up if you aren't careful. Put on your thinking caps--here comes the science!
Trick-Out Your Session Handler
by John Herren (staff) |
3 comments | Monday, April 10, 2006
Since HTTP uses a stateless request-response method to transfer web pages, all but the simplest web applications need a way to store data between requests. The best way to accomplish this in PHP is to use sessions. A session identifier is kept client-side in a cookie, and is matched up with data kept on the server, which is made available in scripts through the $_SESSION superglobal. By default, session data is stored on the filesystem in individual files. This works fine for most people, but when it comes to storing session data, PHP has several options available. This article will discuss some of the built-in options for session storage and also show you how to write your own session handler.
PHP 101 (part 3): Looping The Loop
by Vikram Vaswani |
22 comments | Monday, July 19, 2004
If you’ve been paying attention, you remember that in Part Two I gave you a quick crash course in PHP’s basic control structures and operators. I also showed you how PHP can be used to process the data entered into a Web form. In this tutorial, I’m going to delve deeper into PHP’s operators and control structures, showing you two new operators, an alternative to the if-else() family of conditional statements, and some of PHP’s more interesting loops.
PHP 101 (part 1): Down the Rabbit Hole
by Vikram Vaswani |
52 comments | Saturday, July 17, 2004
If you’re new to Web development, you could be forgiven for thinking that it consists of no more than a mass of acronyms, each one more indecipherable than the last. ASP, CGI, SOAP, XML, HTTP – the list seems never-ending, and the sheer volume of information on each of these can discourage the most avid programmer. But before you put on your running shoes and flee, there’s a little secret you should know. To put together a cutting-edge Web site, chock full of all the latest bells and whistles, there’s only one acronym you really need to know: PHP
