Models represent database tables and contain business logic and object rules. A model is generated using a generator command and tied into the Rails infrastructure using migrations and the schema file. Models allow CRUD (create, read, update, delete) actions on data through ActiveRecord methods. Validations add rules to ensure data integrity.
The document summarizes key topics from a Ruby on Rails lab on active record associations. It discusses how to add and delete orders, use primary and foreign keys to connect models, and the different types of associations like has_one, has_many, belongs_to, and has_and_belongs_to_many. It also covers association options, polymorphic associations, self joins, counter caches, and the :touch option.
The document discusses database migrations in Ruby on Rails. It explains that migrations provide a way to alter the database schema and structure over time in a way that is database independent and reversible. Migrations are represented as classes and contain up and down methods that modify the database schema and allow rolling changes back if needed. Common migration methods like create_table, add_column, and remove_column are used to make changes to the database.
The document discusses modeling database relationships in Rails using ActiveRecord. It covers the three types of database relationships - one-to-one, one-to-many, and many-to-many. It provides examples of each relationship type and how they are modeled using ActiveRecord macros like belongs_to, has_one, has_many, and querying associated models. The document also demonstrates how to add new models to associations using different ActiveRecord methods.
A Quick walkthrough the Richardson REST Maturity Model with simple examples, followed by design considerations for building software for a REST architectural style. Key point: REST is the starting position, not the end point when designing.
5th International Disaster and Risk Conference IDRC 2014 Integrative Risk Management - The role of science, technology & practice 24-28 August 2014 in Davos, Switzerland
This document discusses mobile marketing trends and strategies. Some key statistics include that as of June 2012, 54.9% of US mobile subscribers used smartphones, 64% of US adults used 3G networks, and over 40 million tablets were sold in the US in the past two years. It also notes that 15% of all searches are now done on mobile phones and 8% of ecommerce is mobile. The document provides examples of mobile marketing campaigns and recommends marketers consider where consumers are, what they need, what devices they have, and what existing content can be adapted, when developing mobile strategies.
The document discusses rare photos from 1911 showing Niagara Falls frozen over. It references that people may have heard about Niagara Falls freezing in the past but never seen actual photos from when it happened. The summary provides the context that the document contains old photos from 1911 depicting Niagara Falls frozen.
Models represent database tables and contain business logic and object rules. A model is generated using a generator command and tied into the Rails infrastructure using migrations and the schema file. Models allow CRUD (create, read, update, delete) actions on data through ActiveRecord methods. Validations add rules to ensure data integrity.
The document summarizes key topics from a Ruby on Rails lab on active record associations. It discusses how to add and delete orders, use primary and foreign keys to connect models, and the different types of associations like has_one, has_many, belongs_to, and has_and_belongs_to_many. It also covers association options, polymorphic associations, self joins, counter caches, and the :touch option.
The document discusses database migrations in Ruby on Rails. It explains that migrations provide a way to alter the database schema and structure over time in a way that is database independent and reversible. Migrations are represented as classes and contain up and down methods that modify the database schema and allow rolling changes back if needed. Common migration methods like create_table, add_column, and remove_column are used to make changes to the database.
The document discusses modeling database relationships in Rails using ActiveRecord. It covers the three types of database relationships - one-to-one, one-to-many, and many-to-many. It provides examples of each relationship type and how they are modeled using ActiveRecord macros like belongs_to, has_one, has_many, and querying associated models. The document also demonstrates how to add new models to associations using different ActiveRecord methods.
A Quick walkthrough the Richardson REST Maturity Model with simple examples, followed by design considerations for building software for a REST architectural style. Key point: REST is the starting position, not the end point when designing.
5th International Disaster and Risk Conference IDRC 2014 Integrative Risk Management - The role of science, technology & practice 24-28 August 2014 in Davos, Switzerland
This document discusses mobile marketing trends and strategies. Some key statistics include that as of June 2012, 54.9% of US mobile subscribers used smartphones, 64% of US adults used 3G networks, and over 40 million tablets were sold in the US in the past two years. It also notes that 15% of all searches are now done on mobile phones and 8% of ecommerce is mobile. The document provides examples of mobile marketing campaigns and recommends marketers consider where consumers are, what they need, what devices they have, and what existing content can be adapted, when developing mobile strategies.
The document discusses rare photos from 1911 showing Niagara Falls frozen over. It references that people may have heard about Niagara Falls freezing in the past but never seen actual photos from when it happened. The summary provides the context that the document contains old photos from 1911 depicting Niagara Falls frozen.
The document discusses predictions for SEO in 2013, noting that SEO will focus on content, authorship/digital signatures, brands and building trust communities through quality links and diversity. It also predicts SEO will increasingly focus on mobile, local search, personalization, social signals, semantics and rich snippets. Success will involve integrating brands, content, mobile, local search, long tail keywords and social media. SEO will focus on happy people and Google will aim to be people's preferred search engine.
This document provides pricing information for various social media graphics and applications in Romanian Lei. It lists the dimensions and prices for images needed for profiles on YouTube, Google+, and Facebook. It also provides pricing for custom apps and graphics for promotions, sweepstakes, photo showcases, video channels, and more. Prices range from 3 to 30 Euros without VAT per image or application component. Contact information is provided for the graphics design company Servicii Grafica Apps.
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive function. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
10 steps to a successful media marketing strategy - by Jeff BullasHoria Tel
This document outlines the 10 steps to a successful social media marketing strategy. It begins by discussing the digital landscape and growth of social media. It then covers problems like noise, clutter and thinking analog. The next sections explain why social media marketing is important by amplifying content, positioning as an expert, and facilitating trust. It then details the foundations of social media marketing including content, search, social and publishing across networks. The final sections cover the 10 steps of the strategy and social media marketing tools and tactics for platforms like Facebook, Twitter, LinkedIn, YouTube and blogs.
The document discusses predictions for SEO in 2013, noting that SEO will focus on content, authorship/digital signatures, brands and building trust communities through quality links and diversity. It also predicts SEO will increasingly focus on mobile, local search, personalization, social signals, semantics and rich snippets. Success will involve integrating brands, content, mobile, local search, long tail keywords and social media. SEO will focus on happy people and Google will aim to be people's preferred search engine.
This document provides pricing information for various social media graphics and applications in Romanian Lei. It lists the dimensions and prices for images needed for profiles on YouTube, Google+, and Facebook. It also provides pricing for custom apps and graphics for promotions, sweepstakes, photo showcases, video channels, and more. Prices range from 3 to 30 Euros without VAT per image or application component. Contact information is provided for the graphics design company Servicii Grafica Apps.
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive function. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
10 steps to a successful media marketing strategy - by Jeff BullasHoria Tel
This document outlines the 10 steps to a successful social media marketing strategy. It begins by discussing the digital landscape and growth of social media. It then covers problems like noise, clutter and thinking analog. The next sections explain why social media marketing is important by amplifying content, positioning as an expert, and facilitating trust. It then details the foundations of social media marketing including content, search, social and publishing across networks. The final sections cover the 10 steps of the strategy and social media marketing tools and tactics for platforms like Facebook, Twitter, LinkedIn, YouTube and blogs.
2. Mugur Cosmin Frunzetti - Mobile Conference, Bucuresti, 16 mai 2013
De ce cumparam flori online?
- Ziua de nastere
- Sarbatoare (Valentines, Dragobete, 1 si 8 martie, Paste,
Craciun, …)
- Onomastica
- Business (clienti, parteneri)
- Cand vrem sa transmitem un sentiment, o multumire, cand
vrem sa facem o bucurie fara un motiv anume
3. Mugur Cosmin Frunzetti - Mobile Conference, Bucuresti, 16 mai 2013
Cand vrem sa transmitem
un sentiment?
4. Mugur Cosmin Frunzetti - Mobile Conference, Bucuresti, 16 mai 2013
Cum pregatim campania
de mobile display?
- Limba
- Teritoriu
- Text sau imagine?
- Terminale
- Mesaj
7. Mugur Cosmin Frunzetti - Mobile Conference,
Bucuresti, 16 mai 2013
Ce fac vizitatorii
ajunsi pe site din
campania de
Google Mobile
Display?
8. Mugur Cosmin Frunzetti - Mobile Conference, Bucuresti, 16 mai 2013
Ce urmeaza?
Noi oportunitati de folosire
Mobile Display
Deschiderea primei florarii
din reteaua Floria Retail =
- Click to SMS (pregatiti-mi buchetul)
- Targetare geografica zonala (1 km. in jurul fiecarei florarii)
- Harta / Ruta catre cea mai apropiata florarie