ruby on rails - Creating user registration/login website -
i thought of creating website users can register , login accounts. want use ruby language combined html/css/javascript/jquery knowledge. problem don't know how or start.
of course i'll need database, maybe mysql? read devise, have no idea how these work.
in short, want able create form (this can do) store registered users in database , make them able able login check accounts , stuff.
what missing? need do? can please point in beset direction how start this?
for database, @ starting sqlite. it's plenty capable initial experiments.
to test using sqlite, recommend using sequel orm ("object relational mapping") gem. big advantage using sequel don't have learn sql or query language talk database right away. can concentrate on getting code working instead. sequel great shim-layer between code , database, abstracts specifics of connecting , talking it, making easy move 1 type of database no, or minimal, changes code.
look @ using haml sinatra generating html. it's great templating engine html can clean html , ease task of embedding ruby's variables or control structures.
Comments
Post a Comment