Ruby on Rails versus Django - A newbie Web Developer's Perspective -Shreyank...ThoughtWorks
As I have been developing Web Applications for just more than an year now, I can safely introduce myself as a Newbie Web Developer. A year ago, when I started out, my first choice when it came to building Web Apps was Ruby on Rails. The reason was the fascination. There was a steep learning curve from my Python background, but it was all worth it.
Today, working in the industry as a Web Programmer, I program applications in both Ruby on Rails and Django. And during my coffee-breaks, when I sit down and retrospect, I start comparing. And when I compare, I come up with advantages and disadvantages of both the web frameworks.
Both Ruby on Rails and Django are no doubt (in my opinion) the two best Web Frameworks in existence. Both have their own bits of Superiority and Inferiority when compared with the other. My talk aims to put these bits in front of the audience and have a little discussion on the areas of improvements.
입문자가 받아들이기 쉬운 파이썬 언어와 장고 웹 프레임워크로 프로그래밍 사고력을 키우는 웹 프로그래밍을 시작하세요!
- 당신의 어려움을 명쾌히 파악하는 강사님의 밀착 도움
- 끈없는 실습을 통해 성취감을 갖게하는 실습 위주 커리큘럼
- 복습으로 웹 개발을 체득시켜주는 매 시간의 퀴즈 테스트
http://www.fastcampus.co.kr/dev_camp_wpb
문의 : 이은혜 매니저 02-517-0643
This document summarizes a lecture on getting started with Ruby on Rails. It introduces basic Rails concepts like MVC architecture, models, controllers and views. It also covers nested routing, partial templates, and HTTP basic authentication. The lecture includes a live demo of these Rails features.
Ruby on Rails versus Django - A newbie Web Developer's Perspective -Shreyank...ThoughtWorks
As I have been developing Web Applications for just more than an year now, I can safely introduce myself as a Newbie Web Developer. A year ago, when I started out, my first choice when it came to building Web Apps was Ruby on Rails. The reason was the fascination. There was a steep learning curve from my Python background, but it was all worth it.
Today, working in the industry as a Web Programmer, I program applications in both Ruby on Rails and Django. And during my coffee-breaks, when I sit down and retrospect, I start comparing. And when I compare, I come up with advantages and disadvantages of both the web frameworks.
Both Ruby on Rails and Django are no doubt (in my opinion) the two best Web Frameworks in existence. Both have their own bits of Superiority and Inferiority when compared with the other. My talk aims to put these bits in front of the audience and have a little discussion on the areas of improvements.
입문자가 받아들이기 쉬운 파이썬 언어와 장고 웹 프레임워크로 프로그래밍 사고력을 키우는 웹 프로그래밍을 시작하세요!
- 당신의 어려움을 명쾌히 파악하는 강사님의 밀착 도움
- 끈없는 실습을 통해 성취감을 갖게하는 실습 위주 커리큘럼
- 복습으로 웹 개발을 체득시켜주는 매 시간의 퀴즈 테스트
http://www.fastcampus.co.kr/dev_camp_wpb
문의 : 이은혜 매니저 02-517-0643
This document summarizes a lecture on getting started with Ruby on Rails. It introduces basic Rails concepts like MVC architecture, models, controllers and views. It also covers nested routing, partial templates, and HTTP basic authentication. The lecture includes a live demo of these Rails features.
This document summarizes a lecture on getting started with Ruby on Rails. It introduces basic concepts like MVC architecture, models, views, controllers, routing and actions. It also covers generating routes, using methods as actions, and HTTP basic authentication. The lecture concludes with a live demo.
This document summarizes a biweekly lecture from ROR Lab Season 4 on getting started with Rails migrations on the CLI. It discusses using Rails migrations to manage the database schema, securing applications with strong parameters to prevent mass assignment, and introduces an example "Article" model with title and text string attributes. The lecture materials can be found online at the provided URL.
The document discusses setting up a self-join association in Rails using ActiveRecord. It generates a User model and users_friends join table, defines a has_and_belongs_to_many association between the User model and itself, and includes a method to check if a user is friends with another user by checking if their ID is included in the friend_ids array.
The document discusses the Rails asset pipeline. It describes how the pipeline works, including:
- Assets are compiled, concatenated, and fingerprinted by the Sprockets gem.
- Assets can be written in languages like CoffeeScript and Sass.
- The pipeline includes assets from app/assets, lib/assets, and vendor/assets.
- Assets are precompiled for production to improve performance.
The document summarizes various Active Support core extensions to core Ruby classes like String, Class, and others. It provides examples of methods added like html_safe for output safety, truncate for string truncation, subclasses and descendants for retrieving child classes, and inflection helpers like pluralize, underscore, etc. The extensions allow additional functionality and convenience methods to be included in classes for tasks like sanitizing HTML output, working with classes and subclasses, and manipulating strings.
The document summarizes various ActiveSupport extensions to Ruby's core Module class. It describes extensions for aliasing methods, defining accessor methods, retrieving parent modules, introspecting constants, synchronizing methods, checking reachability of constants, and delegating method calls to other objects.
This document discusses Ruby on Rails extensions provided by ActiveSupport. It explains that ActiveSupport provides Ruby extensions, utility classes, and other features used across Rails. It then summarizes some common extensions, including methods added to all objects like blank?, present?, and try. The document provides code examples for how these extensions work and which ActiveSupport files define them.
This document provides an overview of Action Controllers in Ruby on Rails. It discusses controllers acting as a middle layer between models and views, RESTful routing, parameters, sessions, filters, request and response objects, authentication, streaming files, parameter filtering, exception handling, and forcing HTTPS. Key points include controllers conducting an orchestra, handling REST actions, accessing session data, applying filters, and interacting with requests and responses.
This document summarizes various Rails form helpers including:
- time_zone_select and time_zone_options_for_select for selecting time zones
- country_select for selecting countries
- select_date and date_select for selecting dates
- File uploading helpers like file_field and handling uploaded files
- Customizing forms using form builders or the SimpleForm gem
- Dealing with nested and duplicated form parameters
- Using fields_for to work with nested attributes
This document discusses Rails form helpers and generating forms in Rails. It covers the form_tag helper which generates form tags, and the form_for helper which binds forms to model objects. It also discusses generating individual form fields like text fields, text areas, checkboxes and radio buttons. Additionally, it covers options for selecting values from a collection and working with nested attributes using fields_for.
- The document discusses various rendering methods and layouts in Rails, including default rendering, using the 'render' method, options for render like :content_type and :layout, and using redirect_to versus render. It also covers finding and structuring layouts, asset tag helpers, and head-only responses.
This document discusses eager loading associations in Active Record to reduce the number of database queries. It explains the N+1 query problem and how to solve it using includes. It also covers eager loading multiple associations, conditions on eager loaded associations, and scopes.
This document discusses ActiveRecord and various querying methods in Rails such as finding single and multiple records, adding conditions to queries, joining tables, and more. It provides code examples for methods like find, where, select, joins, and others. It also covers topics like readonly records, locking, overriding conditions, and joining with associations.
This document lists the different options that can be used for Active Record associations in Rails. It provides a table that outlines the options that can be used for belongs_to, has_one, has_many, and HABTM (has_and_belongs_to_many) associations. The table is repeated multiple times with the same information.
This document discusses Active Record associations in Ruby on Rails. It covers the different types of associations like belongs_to, has_one, has_many, has_many :through, has_and_belongs_to_many. It explains how associations automate connections between models and assignment of foreign keys. Examples are given of join tables, polymorphic associations, counter caches, and other association options.
ActiveRecord Callbacks & Observers, Season 2RORLAB
This document discusses callbacks and observers in ActiveRecord. It describes the object lifecycle in ActiveRecord and the different callback methods like before_validation, after_save, etc. that are triggered during various stages of the object lifecycle like create, update, delete. It also covers conditional callbacks, callback classes, observers, and transaction callbacks.
The document discusses Active Record validations in Ruby on Rails. It provides an overview of validations and covers validation helpers like presence, uniqueness, length, format, numericality, acceptance, confirmation, inclusion, exclusion and validates_with. It also discusses validation callbacks, conditional validations, custom validations, displaying validation errors and more.
This document discusses database migrations in Ruby on Rails. It explains that migrations allow changing the database schema over time by providing a way to modify the database structure without directly editing SQL. Migrations have up and down methods that allow changing the database structure and reverting changes. The rake tasks like rake db:migrate apply pending migrations to update the database schema.
This document summarizes a lecture on getting started with Ruby on Rails. It introduces basic concepts like MVC architecture, models, views, controllers, routing and actions. It also covers generating routes, using methods as actions, and HTTP basic authentication. The lecture concludes with a live demo.
This document summarizes a biweekly lecture from ROR Lab Season 4 on getting started with Rails migrations on the CLI. It discusses using Rails migrations to manage the database schema, securing applications with strong parameters to prevent mass assignment, and introduces an example "Article" model with title and text string attributes. The lecture materials can be found online at the provided URL.
The document discusses setting up a self-join association in Rails using ActiveRecord. It generates a User model and users_friends join table, defines a has_and_belongs_to_many association between the User model and itself, and includes a method to check if a user is friends with another user by checking if their ID is included in the friend_ids array.
The document discusses the Rails asset pipeline. It describes how the pipeline works, including:
- Assets are compiled, concatenated, and fingerprinted by the Sprockets gem.
- Assets can be written in languages like CoffeeScript and Sass.
- The pipeline includes assets from app/assets, lib/assets, and vendor/assets.
- Assets are precompiled for production to improve performance.
The document summarizes various Active Support core extensions to core Ruby classes like String, Class, and others. It provides examples of methods added like html_safe for output safety, truncate for string truncation, subclasses and descendants for retrieving child classes, and inflection helpers like pluralize, underscore, etc. The extensions allow additional functionality and convenience methods to be included in classes for tasks like sanitizing HTML output, working with classes and subclasses, and manipulating strings.
The document summarizes various ActiveSupport extensions to Ruby's core Module class. It describes extensions for aliasing methods, defining accessor methods, retrieving parent modules, introspecting constants, synchronizing methods, checking reachability of constants, and delegating method calls to other objects.
This document discusses Ruby on Rails extensions provided by ActiveSupport. It explains that ActiveSupport provides Ruby extensions, utility classes, and other features used across Rails. It then summarizes some common extensions, including methods added to all objects like blank?, present?, and try. The document provides code examples for how these extensions work and which ActiveSupport files define them.
This document provides an overview of Action Controllers in Ruby on Rails. It discusses controllers acting as a middle layer between models and views, RESTful routing, parameters, sessions, filters, request and response objects, authentication, streaming files, parameter filtering, exception handling, and forcing HTTPS. Key points include controllers conducting an orchestra, handling REST actions, accessing session data, applying filters, and interacting with requests and responses.
This document summarizes various Rails form helpers including:
- time_zone_select and time_zone_options_for_select for selecting time zones
- country_select for selecting countries
- select_date and date_select for selecting dates
- File uploading helpers like file_field and handling uploaded files
- Customizing forms using form builders or the SimpleForm gem
- Dealing with nested and duplicated form parameters
- Using fields_for to work with nested attributes
This document discusses Rails form helpers and generating forms in Rails. It covers the form_tag helper which generates form tags, and the form_for helper which binds forms to model objects. It also discusses generating individual form fields like text fields, text areas, checkboxes and radio buttons. Additionally, it covers options for selecting values from a collection and working with nested attributes using fields_for.
- The document discusses various rendering methods and layouts in Rails, including default rendering, using the 'render' method, options for render like :content_type and :layout, and using redirect_to versus render. It also covers finding and structuring layouts, asset tag helpers, and head-only responses.
This document discusses eager loading associations in Active Record to reduce the number of database queries. It explains the N+1 query problem and how to solve it using includes. It also covers eager loading multiple associations, conditions on eager loaded associations, and scopes.
This document discusses ActiveRecord and various querying methods in Rails such as finding single and multiple records, adding conditions to queries, joining tables, and more. It provides code examples for methods like find, where, select, joins, and others. It also covers topics like readonly records, locking, overriding conditions, and joining with associations.
This document lists the different options that can be used for Active Record associations in Rails. It provides a table that outlines the options that can be used for belongs_to, has_one, has_many, and HABTM (has_and_belongs_to_many) associations. The table is repeated multiple times with the same information.
This document discusses Active Record associations in Ruby on Rails. It covers the different types of associations like belongs_to, has_one, has_many, has_many :through, has_and_belongs_to_many. It explains how associations automate connections between models and assignment of foreign keys. Examples are given of join tables, polymorphic associations, counter caches, and other association options.
ActiveRecord Callbacks & Observers, Season 2RORLAB
This document discusses callbacks and observers in ActiveRecord. It describes the object lifecycle in ActiveRecord and the different callback methods like before_validation, after_save, etc. that are triggered during various stages of the object lifecycle like create, update, delete. It also covers conditional callbacks, callback classes, observers, and transaction callbacks.
The document discusses Active Record validations in Ruby on Rails. It provides an overview of validations and covers validation helpers like presence, uniqueness, length, format, numericality, acceptance, confirmation, inclusion, exclusion and validates_with. It also discusses validation callbacks, conditional validations, custom validations, displaying validation errors and more.
This document discusses database migrations in Ruby on Rails. It explains that migrations allow changing the database schema over time by providing a way to modify the database structure without directly editing SQL. Migrations have up and down methods that allow changing the database structure and reverting changes. The rake tasks like rake db:migrate apply pending migrations to update the database schema.