1 / 13

Ruby on Rails

Ruby on Rails. Adrian Bareja, I EMiI II st. Podstawowe zagadnienia. Ruby Rails MVC ( Model-View-Controller ) Model Widoki Kontrolery. Założenia Ruby on Rails. Szybkość oraz łatwość pisania kodu Reguła DRY ( Don’t Repeat Yourself ) Reguła convertion Over Configuration

stian
Télécharger la présentation

Ruby on Rails

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ruby on Rails Adrian Bareja, I EMiI II st.

  2. Podstawowe zagadnienia • Ruby • Rails • MVC (Model-View-Controller) • Model • Widoki • Kontrolery

  3. Założenia Ruby on Rails Szybkość oraz łatwość pisania kodu Reguła DRY (Don’tRepeatYourself) Reguła convertionOverConfiguration Rozszerzenie aplikacji o wtyczki

  4. Ruby on Rails i jego elementy ActiveRecord ActionPack ActiveSupport ActionMailer

  5. Zasada działania RoR • Przeglądanie Artykułów dodanych(list) • Dodawanie nowych artykułów(new) • Edycję artykułów(edit) • Oglądanie poszczególnych artykułów(show) • Usuwanie artykułów(destroy) Framework Zasada DRY MVC Komponenty Ruby on Rails Rusztowania ActiveRecord Wydajność

  6. Pierwsze kroki Tutoriale zaczerpnięte ze strony : http://rubyonrails.kluza.eu/radrails/tutoriale/ Instalacja MySQL, Ruby, Ruby on Rails, aptana(Radrails) Pierwsza aplikacja

  7. Krok 1. Instalacja MySQL http://dev.mysql.com/downloads/mysql/5.0.html#Windows

  8. Krok 2 konfiguracja MySQL

  9. Krok 3 uruchomienie bazy MySQL

  10. Krok 4 Instalacja Ruby http://rubyforge.org/frs/?group_id=167

  11. Krok 5 Aptana + Rails http://www.aptana.com/download_rails_rdt.php

  12. Pierwsza aplikacja

  13. Pierwsza aplikacja

More Related