On VideoPHPBlog.com they've posted about a screencast getting you familiar with MVC and how to create a simple model/view/controller application in three parts.Beautiful new screen cast from #JREAM about creating the base essentials of your own PHP MVC application. High quality and good speaker.The tutorial starts with the basics - making a front controller, some simple routing and making a few controllers to handle the requests. With this base in place, he adds some handy features like default actions,...
Kevin Schroeder has a new post to his blog today showing how you can use the Zend_Amf component in your Flex+PHP application to authenticate users with the same authentication structure the rest of the application uses.I forget why, but a few days ago I started doing some digging around with authentication in Zend_Amf_Server. I had figured that I would add an adapter to the Zend_Amf_Server::setAuth() method and that would be it. But I was wrong.Zend_Auth is used to validate the login information that's...
The Voices of the ElePHPant podcast has release their latest episode today - an interview with Michael Maclean, a developer on the Cairo PHP project.Cal asks Michael his "three questions" about his
Explain to us what Cairo PHP is and why PHP developers should be interested in it.
What is your role in the project and how did you get involved in such a unique project?
Give us some examples of some real-world projects that use Cairo PHP.
You can listen to this new episode either through the in-page player,...
A number of programming design patterns look very similar. One
of these is the Proxy pattern, which, at first glance, can
look like a number of others: Decorator,
Flyweight, even plain old object extension. However, it
has its own niche, and it can provide some incredible flexibility
for a number of programming scenarios.
A number of programming design patterns look very similar. One
of these is the Proxy pattern, which, at first glance, can
look like a number of others: Decorator,
Flyweight, even plain old object extension. However, it
has its own niche, and it can provide some incredible flexibility
for a number of programming scenarios.
Here's what was popular in the PHP community one year ago today:php|architect: Never Use $_GET Again
Kevin Schroder's Blog: PHP 5.3 Certification Beta Testers Needed
Project: MakeGood - A test runner for doing Test Driven Development with Eclipse PDT
Court Ewing's Blog: Zend Framework Modules: Autoloading & Namespaces
Github.com: Lisphp - Lisp in PHP
NETTUTS.com: Object-Oriented PHP for Beginners
dynaTrace Blog: Top 10 Performance Problems taken from Zappos, Monster, Thomson and Co
Project:...
This year's /ch/open Workshop-Days will take place at ETH in ZA¼rich, Switzerland from September 13th to 15th 2011. There will be workshops on various OOS topics, ranging from MongoDB over Physical-Computing with Arduino all the way to Android Game Development. All in all a pretty neat program.
We will take part in the Workshop-Days by hosting two workshops on Symfony2 and Sencha Touch.Introduction to the Symfony2 PHP FrameworkBy now, you must have heard of Symfony2 - the new state of the art in the...
Matt Knight has a recent post looking at a specific part of the Zend Framework, the Zend_Config component, and how it's overhead can be reduced (and somewhat replaced) using a few lines of PHP 5.3-specific code.One such limitation that I've recently seen is the performance of Zend_Config. This class underpins the mechanism by which developers provide configuration to the application, and all this config is passed around in the form of Zend_Config objects. [...] For the purposes of this article, I'm...
In this new post from Freek Lijten he looks at a set of git commit hooks written in PHP for making things happen before, during and post commit.Git hooks are usually found inside the .git/hooks folder of your git repository. Git tends to provide sample hook files there which are postfixed with a .sample extension. These examples are written as shell scripts. Take a look at them if you want, but today we're talking PHP!He briefly touches on the types of hooks you can set up and includes two example...
In a new blog post Matthew Weier O'Phinney has taken a look at proxy objects (the Proxy design pattern) and how it differs from some of the other popular patterns.Of the other patterns mentioned, the one closest to the Proxy is the Decorator. In the case of a Decorator, the focus is on adding functionality to an existing object -- for instance, adding methods, processing input before delegating to the target object, or filtering the return of a method from a target object.Proxies stand in for objects and...
Media Embed
PHP HC8 API
Plugin Mercado Pago
Basic RFI Protection
Simpled thumbnail
Regulate XHTML Text
Radial Search
Genealogy Classes
Yesterday there was a bit of discussion after uncon superstar Keith Casey mentioned he had been accepted to speak at an event, but the event required him to pay for his ticket. The discussion focussed on this specific event, but the topic is wider of course. And there are valid reasons for doing this, but you can also make mistakes with it.
A number of programming design patterns look very similar. One of these is the
Proxy pattern, which, at first glance, can look like a number of others:
Decorator, Flyweight, even plain old object extension. However, it has its
own niche, and it can provide some incredible flexibility for a number of
programming scenarios.
Continue reading "Proxies in PHP"
In his (Python) blog today Casey reminds the developer community about a handy tool that the developers at Facebook have made available to make a PHP coder's life easier - phpsh.The developers at Facebook have brought PHP developers a powerful REPL now ala-Python to round out a solid toolbox that PHP developers already have. The project is called phpsh and is written in Python.He includes the commands you'll need to get it pulled from github and working, providing you with an interactive shell right on...
Nils Luxton has written up a guide you can follow to get the latest (non-production) release of PHP - v5.4.0alpha1 - up and running on your machine in your WampServer instance.I wanted to do exactly that, and at work we use WampServer so we can easily switch between PHP versions (and it also makes enabling/disabling extensions and options very easy - if you develop on Windows, check it out). Assuming you have WampServer installed, it is fairly trivial to manually install new versions of the AMP...
The Ibuildings techPortal has posted the summary of Day 2 of the Dutch PHP Conference from Marco De Bortoli with some of his experiences from this year's event.This year as part of the Ibuildings team I attended the Dutch PHP Conference for the first time. What can I say? Well, it was an unbelievable experience; I enjoyed every moment spent there. [...] There was also the high quality of the presented talks, but also for the great opportunity to spend good time with my colleagues at Ibuildings and people...
On the Voices of the ElePHPant podcast there's a new episode interviewing Nicholas Zographos, the head of the Pittsburgh PHP User Group.Cal's three questions revolve around Nicholas' work with the group:
How many members do you have at a meeting, on your mailing list and what do you do to bring those members closer together.
What is your meeting structure?
How do you handle the variety of skill levels in the group?
You can listen the usual three ways - either through the in-page player, by downloading...
Latest PECL Releases:
PDO_CUBRID 8.4.0.0002
CUBRID 8.4.0.0002
mongo 1.2.0
hidef 0.1.9
Bradley Holt has a new post to his blog today talking about the experience he's had with testing the PHP 5.4 alpha1 release, just posted from the PHP development group.Rasmus Lerdorf today posted instructions for testing the upcoming PHP 5.4 release. Running the PHP tests and submitting the associated report will help the PHP team get PHP 5.4 ready faster as it gives them reports of failed tests from a variety of platforms. I just did this today for the first time and can tell you that it is very easy....
In a new post Gonzalo Ayuso talks about some of the new features in the recently released PHP 5.4 alpha, including some code examples.We already have the php5.4 alpha ready for testing. This new release has a few features that I really like. The lack of those features gave me problems in the past. Because of that, I'm very excited waiting for the new stable release of PHP 5.4.There's several features included in the release, but he spotlights some of the major ones - support for array dereferencing,...
|
Latest PHP Tweets
|