I'm coming from PHP, were I had to write a lot database backed web
applications. Someone pointed me to ruby on rails.
I just went through all tutorials I could find and ordered my copy of
"Agile Web Development with Rails".
I created my first application in rails and up to now I can create/
delete/modify my database. But now I can't see how to go on.
Here is a short outline of what I have to do:
It is a project time tool. My coworkers should login and then see a
screen with the most recent entries. On this screen they should be
able to edit/modify/create new entries "XX hours worked on project 1
with comment, YY hours worked on project 2...."
Each coworker/user should be able to maintain a profile containing
some configuration options and the possibility to enter/modify his
personal data (address, phone number).
There should also be an admin user who can login to generate reports.
The core of the design is not a problem. I could write this in PHP
with no problems, but I would like to get into rails. I hope it is
A few more specific questions:
- how do I create a login screen for authentication. How can I
remember the username throughout my application?
- How do I connect all this together? I created a few controllers
which allows me to CUD my database tables, but I need a few more
specific fews etc.
Any hint to documentation, examples etc. is very much appreciated.