 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Community News: ZendCon Europe - November 18th-20th (Paris, France)
by Chris Cornutt June 04, 2013 @ 11:18:50
Zend has officially announced that they will be presenting a "sister" conference to the one they already hold each year in California, this time in Europe - ZendCon Europe.
ZendCon PHP 2013 will be the place where European PHP professionals gather this fall. [...] Attend Europe's largest conference focusing on Enterprise PHP solutions, Frameworks, PHP Training and all things PHP. Meet the legends who created PHP and are partly responsible for what the WWW looks like today. Whether you wish to find a job, take PHP training, find a services company to help you, or just meet the greatest developer ecosystem ever -You are in the right place!
The event will be held in Paris, France on November 18th through the 20th at the Marriott Rive Gauche. Following the same pattern as the US version of the conference, the first day will be tutorials with regular sessions the following days. It's still pretty early on so there's no details about the Call for Papers or anything yet, but you can sign up for more information on the current conference site.
voice your opinion now!
zendcon europe zceu13 conference zend paris france november
Rasmus Larsson: Building a template engine in PHP
by Chris Cornutt May 31, 2013 @ 11:11:27
Rasmus Larsson has a recent post to his site showing how to build a basic templating engine in PHP that uses the "__toString" to help render the result.
Possibly the most common sign of bad code is tight coupling, especially between logic and presentation. It might seem like a good idea to print out the HTML while the data is being generated, but it more often than not leads to a big incoherent mess of tangled code. [...] While PHP makes it unnecessarily easy to write shitty code it also provides a lot of ways to avoid it. I'll use this post to show you how ridiculously easy it is to create a template engine in PHP in three easy steps.
He includes the sample code for a "Template" class and shows the combination of exporting variables and output buffering to return the resulting template populated with values. The "__toString" method makes it so that you can just echo out the object and get the results.
voice your opinion now!
template engine tutorial simple tostring view
PHPMaster.com: The MVC Pattern and PHP, Part 2
by Chris Cornutt March 12, 2013 @ 11:19:03
PHPMaster.com has posted the second part of their MVC series, introducing you to the Model/View/Controller design pattern. If you want to catch up, part one is here.
Welcome to part 2 of this two-part series discussing MVC and PHP, where we'll discuss some of the considerations one must make when using an MVC architecture. If you've come straight to this article without reading part 1 first, I encourage you to head back and have careful read as this one will assume that you've read and understand everything it discussed.
He talks about some of the things more involved in making a MVC framework including routing and URL formats and working with templates. Sample code is included for the route handling, model/controller relationship and view classes for the templates.
voice your opinion now!
mvc designpattern introduction tutorial model view controller routing view
PHPMaster.com: The MVC Pattern and PHP, Part 1
by Chris Cornutt March 05, 2013 @ 13:21:32
If you're new to the world of PHP frameworks, there's one acronym that might confuse you if you don't understand the structure - MVC. In this new tutorial on PHPMaster.com today introduces you to the MVC (Model/View/Controller) design pattern and how it's commonly implemented in PHP.
The Model-View-Control (MVC) pattern, originally formulated in the late 1970s, is a software architecture pattern built on the basis of keeping the presentation of data separate from the methods that interact with the data. In theory, a well-developed MVC system should allow a front-end developer and a back-end developer to work on the same system without interfering, sharing, or editing files either party is working on. [...] In this article, I will go the basic principles of MVC, a run through the definition of the pattern and a quick example of MVC in PHP. This is definitely a read for anyone who has never coding with MVC before or those wanting to brush up on previous MVC development skills.
He starts with an introduction of the overall structure of the pattern, how each part talks with the others. He then talks about each piece in a bit more detail and provides some code examples for some very basic MVC classes. There's no routing or anything connected to them like there would be in a framework - it's just the classes taking the others in as parameters.
voice your opinion now!
mvc designpattern introduction tutorial model view controller
Andrew Podner: Lithium Building Views Using Layouts
by Chris Cornutt February 13, 2013 @ 11:54:04
Andrew Podner has written up a new post for his site today about building views/layouts in Lithium and make the maintenance of your application simpler in the long run.
The last time I wrote about the Lithium framework, the focus was on getting information out of a MySQL database. Once you have that information, in many cases you will want to show it to the user. In this installment, we are going to look at how Lithium implements layouts for your output in an effort to improve reusability of code, which ultimately improves the developer's ability to quickly get applications up and running and it makes maintenance down the road that much easier.
He talks about the basic structure of an application (on the file system) and where the layouts and views live inside it. He includes a sample layout that defines areas for things like title, scripts, character set and main content. Code is also included showing how to use it in your application. There's also a bit about setting up a default layout in your "_init" method if you'd like to use it across the entire application.
voice your opinion now!
lithium view layout tutorial framework
7PHP.com: Zend Certifications Tips & Tricks - Michelangelo van Dam
by Chris Cornutt February 04, 2013 @ 11:22:16
On 7PHP.com today there's a new interview posted, a different kind of one from their usual "community spotlight" series. In this new article they talk with Michelangelo van Dam about the Zend Certified Engineer test and any advice he can offer to those wanting to take it.
This is the 1st set of Zend Certification Tips and Advice to help anyone taking either of the two Zend Exams powered by Zend Technologies: the Zend PHP Certification Exam and/or the Zend Framework Certification Exam. The aim being to help people who want to sit for those exams and inform them what it is all about & what to expect by hearing it from (pro) PHP Guys who have already been through it, that is.
There's a long list of questions in the interview covering a wide range of things about the test everything from what its about out to some of Michelangelo's own opinions about the tests:
- Can you briefly give us an idea of what ZC is about, what it tries to achieve?
- Can you give us an idea of what need to be studied and what kind of stuffs we should expect..etc
- Parts of the modules that you think is more complex and one should pay special attention to?
- What TWO questions can you remember that you can share with us
- Do you recommend PHP guys to get certified?
Check out the answers to these and more questions in the full interview.
voice your opinion now!
zend certification zce framework zfce interview michaelangelovandam opinion
|
Community Events
Don't see your event here? Let us know!
|