Welcome Guest, Not a member yet? Register   Sign In
Screencast: The Advanced Form Handling Series
#1

[eluser]Colin Williams[/eluser]
This series lays out a standard approach to form handling in CodeIgniter that you can use again and again, keeping your controller methods clean, straight-forward and on-task. The series is broken up into 5 minute sections. I got through part 7 tonight and expect several more.

Here's what's available so far:

[url="http://www.thisloadview.com/afh_ci_part_1.swf"]Part I: Overview of the application[/url]

[url="http://www.thisloadview.com/afh_ci_part_2.swf"]Part II: Explaining the concept and principles of the approach[/url]

[url="http://www.thisloadview.com/afh_ci_part_3.swf"]Part III: Defining the form[/url]

[url="http://www.thisloadview.com/afh_ci_part_4.swf"]Part IV: Constructing the form view[/url]

[url="http://www.thisloadview.com/afh_ci_part_5.swf"]Part V: Setting up validation in the add() method[/url]

[url="http://www.thisloadview.com/afh_ci_part_6.swf"]Part VI: Handling errors and repopulating form fields[/url]

[url="http://www.thisloadview.com/afh_ci_part_7.swf"]Part VII: Saving the submitted data[/url]

UPDATE: [url="http://codeigniter.com/?ACT=51&fid=53&aid=7190_t53AR9PEbLv2sAWcgG6F&board_id=2 "]Download files[/url]

Coming up next, I'll look at how we can apply our methodology to the edit form, we'll look at handling other types of form controls (selects, radios, checkboxes), and finally we'll conclude everything and look ahead to CI 1.7's Form Validation library and see what implications it has on this proposed methodology.

Please excuse the mistakes, my voice, and anything you don't like (ha! when doesn't that make sense to request.)

Hope it helps some people out. Comments welcome!
#2

[eluser]Référencement Google[/eluser]
Hooo Colin this is a really good work here! What a valuable stuff you've done for the community here.
Would you mind doing a quick webpage with links to videos and also have them as a downloadable format so we can add that to CI Directory? (only a simple blank one with links it's ok)
#3

[eluser]phpwebdev[/eluser]
Woooo

This is gread example .....

Regards
#4

[eluser]Yash[/eluser]
We need tutorial in more depth. This is very good for newbie.

I can help in advanced tutorial if you need.
#5

[eluser]Colin Williams[/eluser]
Thanks everyone.

Too Pixel: I'll get that together later and email or PM you.

Yash, the concepts are very simple, but they answer a lot of questions that pop up on these boards everyday with regards to validation and form handling. This series will get more advanced, specifically when we deal with other types of form controls, and hopefully anyone who sticks around for the conclusion will be able to grasp the benefits of handling forms in this way. This series is aimed a bit at newbies but also at anyone who hasn't exactly found a good way to handle forms.
#6

[eluser]Yash[/eluser]
yea I got that point.(already)

I like the idea so I said we can extend it.
#7

[eluser]Colin Williams[/eluser]
Understood, Yash. After the next few parts are completed I'll be releasing the code so it will be possible for anyone to take it, use it, modify it, screencast about it, whatever one wishes.
#8

[eluser]Yash[/eluser]
anyways again nice work done.

I'm planing to use your template library in next version of my blog.There is nothing about licensing.
#9

[eluser]Colin Williams[/eluser]
Yash, you are only bound by the CodeIgniter license when using Template.
#10

[eluser]Yash[/eluser]
I've no problem with http://ellislab.com/codeigniter/user-guide/license.html
This is what you mean.




Theme © iAndrew 2016 - Forum software by © MyBB