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

NetTuts.com:
Creating Reusable Forms in Symfony 2
May 28, 2014 @ 12:53:55

NetTuts.com continues their series covering some of the basics of using the Symfony2 framework with this new screencast looking at creating reusable forms.

In this video, we'll build upon our existing knowledge of Symfony 2 to learn how to create reusable forms. We'll learn how to create a separate form class to house our form logic, build the form in a controller and then render it to the browser, from a template.

In the previous parts of the series they built up knowledge on the basics, routing, controllers and templates. In this screencast they use their DemoBundle to create the Person object, make a form populated with its data (name) and the Twig template to render the form.

0 comments voice your opinion now!
symfony2 series tutorial screencast reusable forms

Link: http://code.tutsplus.com/tutorials/creating-reusable-forms-in-symfony-2--cms-21244

Trevor Morris' Blog:
fuelphp, forms and validation
June 15, 2011 @ 09:57:28

In this post to his blog Trevor Morris talks about his own introduction to the Fuel framework and some of his investigation into working with its forms support and validating the user input that comes from them.

I have been working on developing a website with the newest PHP framework on the block - Fuel, which describes itself as "a simple, flexible, community driven PHP 5.3 web framework based on the best ideas of other frameworks with a fresh start". [...] Although Fuel is a new framework, it borrows a lot of ideas from two very popular PHP frameworks, CodeIgniter and Kohana.

He starts off with one concern, a lack of documentation around some things that made it difficult for him to work with the HTML form helpers. He includes an example code snippet to show a basic email form field generation. Behind the scenes, he shows how to use the Validation library to add rules on the fields and check for a pass/fail status on the fields.

2 comments voice your opinion now!
fuelphp forms validation tutorial


Symfony Blog:
Read the symfony documentation offline
February 05, 2009 @ 10:21:10

Symfony developers that do work offline will be happy to know that the framework's documentation is now available as a PDF:

As of today, most of the symfony documentation is available as PDF files. The PDF files are available for all major symfony versions.

They also link to the Jobeet tutorial (Propel/Doctrine), their Forms book and Cookbook.

0 comments voice your opinion now!
symfony framework documentation offline pdf jobeet forms cookbook


ThinkPHP Blog:
10 years phplib - a laudation
June 11, 2008 @ 11:19:43

The ThinkPHP blog points out a milestone for one of the libraries that help set PHP on its current course - PHPLIB (from Kris Koehntopp).

This great collection of classes was in my eyes the first real useful library which delivered the solution to most of the basic / standard problems in PHP based software projects. [...] The easy implementation of DB-abstraction, template engine, authentication, permissions, session management and others made it easy to handle these problems in a standardized way. The strict object oriented code gave the developer the necessary flexibility to customize and extend the code where he/she needs it.

This year is (about) the ten year mark for the existence of the language and several commentors on the post remember the "good ole days" of PHP3 sessions, permissions and even the first version of Zend's website.

0 comments voice your opinion now!
phplib remembersessions php3 forms database abstraction library


Stefan Mischook's Blog:
New PHP article in Web Designer Magazine
November 02, 2006 @ 10:02:24

Stefan Mischook points out in this new post on the KillerPHP blog about an article he has published in the latest edition of the Web Designer Magaizne covering the creation of a contact form in PHP (a beginner look at working with forms and sendmail).

You can find out more about the magazine and the other contents of the issue from their website.

0 comments voice your opinion now!
web designer magazine article published forms email contact tutorial web designer magazine article published forms email contact tutorial


DevShed:
Controlling Online Forms with Builder Objects in PHP 5 (Part 2)
October 11, 2006 @ 14:49:00

DevShed is continuing their "using builder objects in PHP5" series today with this new article, a look at implementing the builder objects in a simple, common bit of functionality - forms.

Mastering some of the most popular design patterns with PHP 5 can be sometimes an overwhelming process that requires hard work and experience. However, if you want to tackle the challenge and expand your existing background on them, this article might eventually find a place on your quick reference list.

They start by defining the basic form element class, helping to build out the different elemnts like inputs, selects, and submits. They extend and implement this class with their example, making a complete form with working elements inside.

0 comments voice your opinion now!
builder objects design pattern forms tutorial builder objects design pattern forms tutorial


KillerPHP.com:
Video - Processing Forms with PHP (Part 1)
August 14, 2006 @ 07:06:34

KillerPHP.com has posted another new video targeted at web designers today, explaining the basics of how form processing works with PHP.

In this video, I review a few key aspects about forms that relate directly to form processing with PHP. I cover these three attributes:
  • The 'action' attribute
  • The 'method' attribute
  • The 'name' attribute
In part 2, we will get into practical examples.

This video is a part of a series he's producing to provide a foundation for the non-programmer types in PHP (without scaring them off).

0 comments voice your opinion now!
video processing forms part1 web designers video processing forms part1 web designers


Paul Jones' Blog:
Instant Forms from Tables with Solar
April 14, 2006 @ 08:21:28

Paul Jones, in response to a question about his Solar framework concerning the creation of forms using table definitions, has answered "yes!" and shows us how in this new post.

Here's an example: 2 lines to start Solar, 2 lines to connect to an existing Solar_Sql_Table, 2 lines to create a Solar_Form using the table columns, and 2 lines to display it with Solar_View using the associated form helper. (The "Solar_Model_Nodes" table is part of the existing Solar_Content domain model.)

He gives the code needed to make it happen as well as a brief explaination on how it all works.

0 comments voice your opinion now!
solar framework tables forms instant solar framework tables forms instant


O'Reilly:
Autofilled PHP Forms
March 17, 2006 @ 07:32:18

The O'Reilly OnLamp.com site has a tutorial posted that takes a look at a simple way to "auto-fill" HTML forms with a little help from PHP.

I hate typing, but I like writing code. A while ago I started to dread all the rote typing required to handle forms in PHP, and began looking for a Better Way. This article describes how I used PHP's regular expression functions to do most of the heavy lifting required to process forms properly, saving lots of typing and giving me time to do stuff I don't hate, such as writing code (and playing NetHack).

He sets it upJeff Cogswell, have had) to display the form, validate the input, and display the results of this validation (or a success message).

He takes a little bit different kind of method behind it than several form packages out there - he grabs the HTML output of the form with output buffering and does replaces on that with the previously entered values.

0 comments voice your opinion now!
autofilled forms html output buffering string replace regular expression autofilled forms html output buffering string replace regular expression


Jim Plush's Blog:
MyBic AJAX 0.3 released with EASY FORMS & Debug!
March 07, 2006 @ 07:03:31

Jim Plush has released the latest version of his Ajax/PHP library, MyMic, as dscribed in this blog post.

My-Bic Ajax Framework hits 1500 downloads in its first week! http://www.litfuel.net/mybic - DOWNLOAD

My-Bic 0.3 was released today adding two major features...

  • Easy Forms
  • Debug Data on Screen

He gives examples and more description for each of them. The debugging information is simple, but can be a life-saver in certain situations.

0 comments voice your opinion now!
myBic version 0.3 release easy forms debug output myBic version 0.3 release easy forms debug output



Community Events





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


interview language tool opinion composer update symfony series version community podcast laravel voicesoftheelephpant package mvc release security library framework introduction

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