












































I used ExtJS 3, MySQL and Ruby On Rails 2.3.11
Firstly, prepare a tables in MySQL. I recommend you create a table named 'users' with at least 5 fields: id, username, passowrd, updated_at, created_at and fill it with you own data, but password keep in SHA1
Don't forget, you need connect to your mysql database in database.yml file
I used ExtJS 3, because it is easy & simple to understand. I like it, design is good, too. Download pack (you can download 4 version, too) & unzip all files it to /public/ext folder
ExtJS full pack you can download here (43 Mb)
I used ExtJS 3, MySQL and Ruby On Rails 2.3.11
You should get i18n gem (gem install i18n)
Create folder called 'locales' in /config and for example create 2 files en.yml & ru.yml (english & russian languages)
In those files jsut write what you want. Examples you can download
In your controller or view, whatever you just write: in view <%=t :your_name %>, in controller t(:your_name)
In my 'users' table (from previous tutorials) I added filed called 'user_language_interface' (where ru for :ru, en for :en and etc) and just give this with session
Ruby On Rails 2.3.11
After you generated mailer (script/generate (or rails generate in Ruby 3) mailer YourMailerName), open in app/modes your file (your_mailer_name.rb)
There you can write some basic mail settings (who will receive email, from, subject name & body)
Open in app/views/ your_mailer_name.html.erb file and there write body (you can use html tags of course)
And there are a lot of additional information you can find in documentation, but I use only basic and i happy
In /config/environments change your smtp data
For this you will need locahost server (Apache/MAMP/LAMP) or web-server
Change only your data (email) in file