Jump to content


Emploment Application form


3 replies to this topic

#1 pvalure

    Etomite Forum Newbie

  • Member
  • 2 posts

Posted 31 January 2008 - 08:19 PM

Hey, I'm new here to Etomite (and PHP) and now I'm stuck.

I have built a form for an employment application for non-CMS sites, but I am having trouble figuring out where to insert the code in etomite. Do I put it in a snippet? Can I include it in the page itself? Has anyone previously built one that I could work of off? Any help would be appreciated.

thanks!

#2 Ralph

    Loves Etomite Forums!

  • Admin
  • 6,524 posts
  • Gender:Male

Posted 31 January 2008 - 08:43 PM

It all depends on what you are comfortable with... If you were to look at existing form snippets you will find that most of them are all-inclusive, meaning that they provide both the markup and the form handling logic... I write most of my forms differently these days... I use the snippet as my Controller and Model, and use Chunks for my Views... This allows me to use MVC concepts within Etomite... For more elaborate forms or code modules I use a main controller snippet which calls other model snippets which then call in view chunks for the actual HTML markup... Might sound confusing but, hey, you asked... By using these methods I am able to write fairly large application modules within Etomite which only require a single authentication point, within the controller snippet...

<<< realizes he has probably totally confused just about everyone and shuffles back into the darkness... >>>

#3 Cris D.

    Loves Etomite Forums!

  • Developers
  • PipPipPipPip
  • 1,104 posts
  • Gender:Male

Posted 31 January 2008 - 09:23 PM

I did a simple form tutorial in my Blog which should start you off with PHP and Etomite. HERE.

#4 pvalure

    Etomite Forum Newbie

  • Member
  • 2 posts

Posted 01 February 2008 - 03:30 PM

thanks! I took your advice of the all inclusive form, so much easier to manage. Now I just have to work through the actual code :/ that might take a while.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users