Latest

Archive

Community news

C++

Communities and Content

Databases

Editorials

Emacs

General

HTML

Java

Notices

PHP

XML

Apache

C++

Database

General

HTML

Java

Javascript

Linux

Object oriented programming

Open source

Perl

PHP

Python

Ruby

SOAP

XML

Suggest a link

Advertise on zez

Contribute

Contact us

About zez


PHP Widgets



A widget is a GUI element which is reusable. Development packages and libraries for C and C++ often have these ready for use. In HTML the form elements would substitute widgets. Now you might wonder why you would need to create further complexity by creating something in PHP for accessing these elements, keep reading and I'll provide you with my problem and my solution.

The point is that when programming on a large project like eZ publish there is often a lot of tasks which are repetetive. Creating a date selector isn't as simple as you want, you end up creating the same code several times, and everything should be based on templates so that the designer can add his touch to the end result.

A date selector is just a couple of form elements, not a big deal in creating them perhaps, but when you need several selectors, and you know you need them in the future, its an opportunity for creating code which solves the problem.

Attached files:


| < 1 > | 2 | 3 | Next page >> | Printer-friendly page |

Comment List


There are no comments.


Forgot your password?

Register a new user

Results

Polls