It gets very repetitive writing forms for clients – that’s why I decided to take the last hour to write this piece of fine code.
It takes whatever title you give a form object and creates a copy / paste dump for your view, controller and Javascript. It doesn’t handle checkboxes or select boxes – but that is because I find the form is not the time killer; it’s the Javascript and validation. The nice part is that most of the heavy lifting is done for you – plus you do not have to worry about spelling mistakes or silly syntax stuff because it is all duped in the script.
I’d like to pop this up on a subdomain after making it pretty – please comment if you think you will find this little app useful.
PS. During the recording I noticed a small error in the code – no need to comment, it is fixed now. The json_encoded array was returning a value that would not display in the error fields due to a mismatch in the name.
UPDATE : Check Out the Application Here!
I have fully tested the generated code and it works great, here’s a video demonstrating how to use “FormTorch”.
After many private messages in response to my first demonstration of this application – I have officially decided to release it into the wild. An interested viewer contacted me on Wednesday to develop a “Simple” version of this app that gets the job done and does not require any overhead such as a database.
Here was one email :
Hey Greg. Thanks a lot for your support. I’m basically looking for something super simple that can be accessed through a login via web browser. Check out the attached image. If you notice the FTP has two playlist directories within the “httpdocs”. While “playlist1″ is playing I’d like to be able to upload to the “playlist2″ directory. Then I’d like to be able to click the one button and have the new “playlist2″ file names be auto written in the playlist.lst file and then have the “loadplaylist” command run after that. I’d want to be able to have the ability to mod the script to support different directories for future adjustments.
Let me know if something like that is possible. Thanks!
I’d just want it to be a real basic thing to launch out of a subdomain so that only the user can access and it can just be a basic php or something. That way there isn’t any main login app for multiple users to go through. Kinda like how that subdomain has its own sc_serv and sc_trans,, maybe just have an admin.php for that subdirectory that will open and then mod just the stuff in that directory. I’m just trying to keep it simple.
Like I want to upload to the folder and then just open a page with those buttons, click one of the buttons and be done. That way if theres a simple command to adjust the “playlist.lst” then there is no way for me to screw it up. I know if the “playlist.lst” file is setup wrong then the transcoder error.
The more basic the better. Thanks!
With a little motivation (wink wink) he got me writing pretty quickly, it turned out awesome. You will find it very easy to install and configure and it works on any Linux system with a PHP enabled web server. You are not limited to any strict conventions - you can do with it as you wish.
Here is the promised installation / how to use video.
You can get your copy here for only $10.



