News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

MaltBlue.com:
Zend Framework 2 - The New HTML5 Form Fields
May 29, 2013 @ 09:33:59

Matthew Setter has posted another in his series looking at the Zend Framework v2 and some of its features. In this new post he focuses on the HTML5 form field support that comes bundled with recent versions.

In this tutorial, I'll be taking you through a few of the new HTML5-specific form elements available in the new Zend Framework 2. We'll see: how they work, how to use them, so you can also see what they're like. This will be coupled with a good set of screenshots - so you know what they look like. By the end of this tutorial, you should be well on your way to being able to have fully HTML5 interfaces in your applications.

He starts off by talking about HTML5 elements in general, pointing out a few reasons why to use them, complete with statistics to back them up (of mobile usage where HTML5 can be handy). He focuses specifically on four different elements - the telephone input field, email field, URL field and the date/time selector. He gives examples of each and screenshots of what they look like on a mobile device (iPhone in this case). Complete code is included to create the elements as well.

0 comments voice your opinion now!
tutorial html5 elements zendframework2 introduction screenshot

Link: http://www.maltblue.com/tutorial/zf2-html5-form-field-introduction

DevShed:
Building Dynamic Web Pages with Polymorphism in PHP 5
March 28, 2007 @ 18:15:35

DevShed continues their look at using polymorphism in an application with the latest part of the series - "Building Dynamic Web Pages with Polymorphism in PHP 5".

In short, Polymorphism is a feature exposed by certain objects that belong to the same family, which eventually can behave differently, even when they're using identical methods. Or more clearly, an object can be considered polymorphic when it's capable of performing different actions by utilizing the same method.

This time they focus on web page development that uses this object-oriented practice. The create a WebPageElement that you can ID and class attributes on and use it to create HTML widgets and extend them to create Div and Link element.

0 comments voice your opinion now!
php5 polymorphism dynamic pages html elements php5 polymorphism dynamic pages html elements


Metapundit.net:
PHP Do-Nots
December 26, 2005 @ 07:02:22

From metapundit.net, there's a new post with a list of a few "PHP Do-Nots" that he's picked up over the years and wanted to share.

I realise I haven't thrown my PHP readers a bone for a while. Lately, unfortunately, all my experience has been with how not to do things. Some of this has been my own fault, but a really healthy percentage has come because I am maintaining one horrible project and rewriting another even more horrid. So, a few pointers for you l3et coders out there: Don't do any of this stuff.

Items on the list include less than thought out design and a lack of knowledge about how to properly use a database.

0 comments voice your opinion now!
do-nots amateur design ignorance form elements do-nots amateur design ignorance form elements



Community Events





Don't see your event here?
Let us know!


introduction series release language tips package symfony update list library opinion api framework install laravel interview podcast community zendserver deployment

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework