 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Matthew Weier O'Phinney's Blog: Why Modules?
by Chris Cornutt May 01, 2012 @ 08:04:20
Matthew Weier O'Phinnney has a new post to his blog filling in some additional details behind a series he's been doing on modules in the Zend Framework v2 releases. In this new post he answers the question "why modules?"
I've blogged about getting started with ZF2 modules, as well as about ZF2 modules you can already use. But after fielding some questions recently, I realized I should talk about why modules are important for the ZF2 ecosystem.
He covers some of the history of the idea, starting with the MVC rework/refactor of the framework and the desire from several people to have self-contained components that could be native to a ZF app. ZFv1 made it work (kinda) with Zend_Application, but it was difficult so solving this became a main focus of ZFv2. He illustrates with a "building block" metaphor based on his current blog site (currently being refactored too).
This kind of building-block development makes your job easier as a developer - and allows you to focus on the bits and pieces that make your site unique. As such, I truly feel that modules are the most important new feature of ZF2.
voice your opinion now!
zendframework2 modules building block focus
WebReference.com: The Building Blocks Data Types, Literals, Variables, and Constants - Part 3
by Chris Cornutt January 29, 2007 @ 11:44:00
WebReference.com has posted part three of their "Building Blocks" series - a look at data types, literals, variables, and constants.
In part three, they focus more on the last type of "block" in their list - the constant:
Some real-world constants, such as pi, the speed of light, the number of inches in a foot, and the value of midnight, are values that don't change. PHP not only provides its own predefined constants but lets you create your own. Using constants makes it easy to write and maintain your programs.
There's talk of the define() and constant() functions and a mention of some of the predefined and "magic constants" as well.
voice your opinion now!
building blocks variable constant define magic building blocks variable constant define magic
WebReference.com: The Building Blocks Data Types, Literals, Variables, and Constants - Part 2
by Chris Cornutt January 22, 2007 @ 09:52:00
WebReference.com has posted part two in a series looking at the "building blocks" that make up PHP and its use. This time, it's a look at the containers for your data - the data types, literals, variables, and constants.
They go through each, explaining what they are, how they're used and when you'd want to use them in your code. They explain the data types and how those fit with each "container" and some basic things like valid names and how to assign things correctly.
They even get get into working with variables from GET and POST requests as well as working with the scope of variables and getting the metadata about them (is it an integer? is it empty?)
voice your opinion now!
building blocks datatypes literals variables constants tutorial building blocks datatypes literals variables constants tutorial
PHPit.net: Building an advertising system with PHP (Part 3)
by Chris Cornutt December 19, 2005 @ 07:14:19
PHPit.net has posted the third part in their "Building an advertising system with PHP" series today.
Welcome to part 3 of the "Building an advertising system with PHP" series. In the previous parts (part 1 and part 2) I have shown you how to build your own advertising system using PHP and JavaScript. We've also added two extra features to our ad system and in part 2 we built a page to manage the ads as well. If you haven't read either part yet, I highly recommend doing so before reading this part.
In this part, the final part of the series, I will show you how to first track all kinds of statistics on each ad, and after that display neat graphs using PHP/SWF Charts. Let's get started.
Now that the front even of the system is all set up, they help you create the backend - gathering data, analyzing the traffic, and creating the graphs to map out the results. It'll require 0 comments voice your opinion now!
building advertising system part three building advertising system part three
|
Community Events
Don't see your event here? Let us know!
|