Welcome Guest, Not a member yet? Register   Sign In
FormIgniter.org launched - Easy form generator - source code now available
#51

[eluser]felix_[/eluser]
[quote author="Ollie Rattue" date="1306124892"][quote author="felix_" date="1306076389"]hey,
i just like your app but i hav a question ...
is it a common way to produce an extra controller for each form i hav?
for example when i want a user to register on my page i would have the signup (where the register form should be called), show etc in one controller
so should i c&p the code from your app to my controller or is it common to seperate form from the other stuff?

greetings Smile[/quote]

This is a personal decision on how you like to structure your application. I tend to keep all related functions in the same controller e.g.

Project (controller name)
-> Add
-> Edit
-> Delete
-> Save
-> Publish
-> Preview

[quote author="felix_" date="1306076389"]for example when i want a user to register on my page i would have the signup (where the register form should be called), show etc in one controller
so should i c&p the code from your app to my controller or is it common to seperate form from the other stuff?[/quote]

Yes I copy and paste the outputted code from FormIgniter into my controllers and rename the functions as applicable.[/quote]

ok thanks... thats the way i would prefer also Smile
#52

[eluser]heru[/eluser]
hi there. i try to install formigniter, but this is what i get :

http://4.bp.blogspot.com/-VWQXk0FPixg/UJ...gniter.png


i follow the instalation step in readme file. but it's not work for me.
can anyone help me please ?
i used xampp 1.7.2 and windows 7.




Theme © iAndrew 2016 - Forum software by © MyBB