Rails have a nice template engine called erb and it's cool however haml is super cool and in this class we practiced using haml along with bootstrap while understanding partials and helpers.
This document provides instructions for setting up a Material Design theme in an Android application. It describes how to use AppCompat for backward compatibility, define color palettes, customize the app bar and toolbar, add a second activity with navigation options, and enable the home button to navigate between activities according to Material Design conventions.
An introductory session about #AngularJS, Kinda mentions history but focuses more on Angular's features, and what it introduces to Web Development.The session was introduced in Google Dev Fest 2014 in Cairo, Egypt . And then revised and presented in #CATScope14.
Introduction of WordPress Themes, Introduction and details description of CUSTOMIZER API and CODER CUSTOMIZER FRAMEWORK.
It was present in the WordPress Meetup in Nepal on 27th September 2015.
It was present in the WordCamp Nepal 2015 on 21st November on Theme Development ( Contribution Session ) by Me ( CoderSantosh ), Mr. Nilambar Sharma and Mr. Bipin Singh.
The slides contains the information about following points:
1. WordPress Theme introduction and its importance,
2. Explaining different files and functions used in WordPress Themes,
3. WordPress Theme Development Process and others helpful topics
also we had explained about _S starter theme and workshop to develop theme using it.
The document discusses Ionic, an open source framework for developing hybrid mobile apps using HTML5. It provides an agenda that covers why hybrid apps may not be ideal, an introduction to Ionic and AngularJS, a quick start guide to creating an Ionic app including installation, building a small app, and tips. Resources for further learning about Ionic and AngularJS are also listed. The presentation aims to explain what Ionic is, how to get started building Ionic apps, and take questions from the audience.
This document provides instructions for setting up a Material Design theme in an Android application. It describes how to use AppCompat for backward compatibility, define color palettes, customize the app bar and toolbar, add a second activity with navigation options, and enable the home button to navigate between activities according to Material Design conventions.
An introductory session about #AngularJS, Kinda mentions history but focuses more on Angular's features, and what it introduces to Web Development.The session was introduced in Google Dev Fest 2014 in Cairo, Egypt . And then revised and presented in #CATScope14.
Introduction of WordPress Themes, Introduction and details description of CUSTOMIZER API and CODER CUSTOMIZER FRAMEWORK.
It was present in the WordPress Meetup in Nepal on 27th September 2015.
It was present in the WordCamp Nepal 2015 on 21st November on Theme Development ( Contribution Session ) by Me ( CoderSantosh ), Mr. Nilambar Sharma and Mr. Bipin Singh.
The slides contains the information about following points:
1. WordPress Theme introduction and its importance,
2. Explaining different files and functions used in WordPress Themes,
3. WordPress Theme Development Process and others helpful topics
also we had explained about _S starter theme and workshop to develop theme using it.
The document discusses Ionic, an open source framework for developing hybrid mobile apps using HTML5. It provides an agenda that covers why hybrid apps may not be ideal, an introduction to Ionic and AngularJS, a quick start guide to creating an Ionic app including installation, building a small app, and tips. Resources for further learning about Ionic and AngularJS are also listed. The presentation aims to explain what Ionic is, how to get started building Ionic apps, and take questions from the audience.
The document discusses the steps to build a Rails blogging application called emerald_blogger. It covers setting up the application structure, configuring environments and databases, generating models, controllers and views, adding validations and associations, and deploying to Heroku. Key areas include placing code in the app directory, using migrations to modify the database schema, defining routes in config/routes.rb, and rendering views and partials from controllers.
This document provides an overview of building web applications with Ruby on Rails. It discusses the core components of a Rails app including models, views, controllers, and database migrations. It also covers generating scaffolds, ActiveRecord queries in the console, embedded Ruby syntax in views, layouts, and view helpers. The goal is to explain the anatomy and basic functionality of a Rails application.
Little documentation and few base themes with 8.x branches - what's a front end developer to do? I'll show you what's changing in Drupal theming between D7 and D8 and how to create a custom theme based on the Classy base theme, step by step. We'll go over Twig basics and Twig debugging.
For each controller in a Rails application, there is a corresponding views directory that contains template files used to display the views for that controller's actions. The final HTML output is composed of templates, partials, and a layout. Templates can be written using ERB or Builder and partials allow breaking templates into reusable chunks. A single layout is used to combine the templates and partials, typically inserting the template content using yield.
- Ruby on Rails is an open-source, full-stack framework for developing database-backed web applications using the Model-View-Controller pattern. It uses the Ruby programming language.
- Rails uses conventions over configurations, don't repeat yourself (DRY) principles, and an opinionated philosophy. It provides a directory structure, environment modes, and generators to quickly develop applications.
- The document provides an example of generating a bookmarks application with models, views, controllers, validations, associations, and AJAX functionality using Rails.
Action View is the component of Rails that handles rendering views and templates. It works with Action Controller to separate the logic of a request from the rendering of the response. Views are written using templates that can be written in ERB or Builder formats. Partials and layouts allow breaking templates into reusable pieces. Action View provides helpers for forms, dates, numbers, assets and more to make working with models and templates easier.
Write your Helm charts as a professional. Design templates and inheritance. B...Volodymyr Shynkar
Helm is a new templating tool for your applications. As with any other tool, it has thicks and hacks that you probably heard, but haven’t actually tried. In this lesson, we will review some of those approaches and also pass through different ways of deploying project workloads to the Kubernetes cluster.
This document provides an introduction and overview of Ruby on Rails, including what it is, its key features and benefits, and how to get started building a basic web application with Rails. Some of the key points covered include Rails' emphasis on productivity through conventions over configuration, scaffolding, and its implementation of the MVC framework and full-stack capabilities. Examples are also given of generating a controller and view to output basic text and dynamic content.
Zend Framework includes the Zend_Layout and Zend_View components which help maintain a consistent look and feel across applications. Zend_Layout implements the two-step view pattern, separating application logic from presentation logic. It provides a controller plugin, action helper, and view helper. Zend_View enhancements like partials and placeholders help DRY up code. Using these components follows best practices and allows applications to scale more easily.
Revised Rails Engine Patterns for Montreal.rb meetup Oct 16, 2012Andy Maleh
Rails engines allow developers to reuse functionality across models, views, controllers, and assets in different Rails applications. This reduces duplication. Engines break common behavior out into reusable Ruby gems that can be included in an application's Gemfile. Applications can then customize models, controllers, views and other parts as needed by reopening or overriding classes and templates defined in the engine. Engines provide a way to share functionality while allowing customizations for different applications.
The Render API in Drupal 7 provides a system for rendering structured data arrays into output like HTML. It is an improved version of the Forms API rendering that uses drupal_render() to generate nearly all page output from render arrays. Render arrays allow elements and pages to be assembled, altered, and cached flexibly through a consistent rendering process. Themes can also interact with render arrays to style output without modifying module code.
This document provides an overview of Ruby on Rails, including:
[1] It describes Ruby on Rails as a web application framework written in Ruby that uses the model-view-controller pattern and includes features like REST, databases support, and code generation.
[2] The architecture of Rails is explained, including its modules like Action Pack, Active Record, and Railties.
[3] An example application is created to demonstrate generating a project, controller, and view in Rails.
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...DrupalCamp Kyiv
Paragraphs is a next step in the evolution of content management tools. The main goal of paragraph approach to make things cleaner to content managers. End-users can now choose on-the-fly between predefined Paragraph Types. We can encapsulate any Drupal functionality into Paragraph Entity, anything you want from a simple text or image to a complex and configurable slideshow, views, contact form or any other feature that exists in Drupal separately.
The presentation will not include complex information for the developers. I’ll cover only some basic ideas in Paragraphs module architecture. After that I’ll mention the most popular and outstanding modules that extend paragraphs functionality (Bootstrap Paragraphs, Paragraphs Edit, Classy paragraphs, Geysir etc.).
There will be several demos and ideas how we can use paragraphs approach.
This is a presentation I made at my local Northern Virginia Ruby Users Group. It discusses the install, setup and use of a few useful Ruby on Rails plugins.
The document discusses setting up a Ruby on Rails web application. It explains how to install Ruby and Rails, configure the database, and generate models. The Rails directory structure is described, including the app, config, and db folders. Finally, it shows how to start the web server and create a basic Rails application.
The document discusses the Model-View-Controller (MVC) design pattern as implemented in the Symfony framework. It describes how MVC separates an application into three layers - the model layer defines the business logic and interacts with the database, the view layer defines the user interface, and the controller layer handles requests and coordinates the model and view. It provides details on how Symfony implements MVC through directories, templates, actions, and other framework components to build applications according to this pattern.
The document provides an overview of Angular including:
- Angular is an open source JavaScript framework for building web applications in HTML and JavaScript. It provides services and objects to create applications faster.
- Typescript is a programming language that adds optional static typing to JavaScript. It compiles to JavaScript.
- Modules, components, templates, metadata, services, and routes are architectural concepts in Angular that define application structure and functionality.
- Components control views and consist of templates, classes, and metadata. Services provide shared functionality across modules. Routes enable navigation between views.
The document summarizes new features in Rails 3.1 beta, including asset handling changes where JavaScript and CSS files are now placed in app/assets, identity maps to improve performance of object loading, simpler database migrations that use a single change method, and improved test output formatting. It also discusses installing Rails 3.1 in a isolated gemset and using Sass and CoffeeScript as default asset compilers.
1. Microservices architecture involves developing applications as a suite of independently deployable services that communicate through APIs and focus on business capabilities.
2. Key patterns include organizing around business capabilities with cross-functional teams, treating services as long-running products rather than projects, using smart endpoints and dumb pipes for communication, and decentralized governance and data management.
3. Other important patterns are automating infrastructure, designing for failure of services, and evolving designs over time rather than expecting a big bang migration to microservices.
This presentation introduces Elixir programming. It discusses that Elixir is a functional programming language that runs on the Erlang VM, which provides features like concurrency, fault tolerance, and distribution. It also highlights some key Elixir concepts like higher order functions, pattern matching, and OTP for building robust applications. Examples are provided to demonstrate defining a module, spawning processes, and working with basic data types in Elixir.
The document discusses the steps to build a Rails blogging application called emerald_blogger. It covers setting up the application structure, configuring environments and databases, generating models, controllers and views, adding validations and associations, and deploying to Heroku. Key areas include placing code in the app directory, using migrations to modify the database schema, defining routes in config/routes.rb, and rendering views and partials from controllers.
This document provides an overview of building web applications with Ruby on Rails. It discusses the core components of a Rails app including models, views, controllers, and database migrations. It also covers generating scaffolds, ActiveRecord queries in the console, embedded Ruby syntax in views, layouts, and view helpers. The goal is to explain the anatomy and basic functionality of a Rails application.
Little documentation and few base themes with 8.x branches - what's a front end developer to do? I'll show you what's changing in Drupal theming between D7 and D8 and how to create a custom theme based on the Classy base theme, step by step. We'll go over Twig basics and Twig debugging.
For each controller in a Rails application, there is a corresponding views directory that contains template files used to display the views for that controller's actions. The final HTML output is composed of templates, partials, and a layout. Templates can be written using ERB or Builder and partials allow breaking templates into reusable chunks. A single layout is used to combine the templates and partials, typically inserting the template content using yield.
- Ruby on Rails is an open-source, full-stack framework for developing database-backed web applications using the Model-View-Controller pattern. It uses the Ruby programming language.
- Rails uses conventions over configurations, don't repeat yourself (DRY) principles, and an opinionated philosophy. It provides a directory structure, environment modes, and generators to quickly develop applications.
- The document provides an example of generating a bookmarks application with models, views, controllers, validations, associations, and AJAX functionality using Rails.
Action View is the component of Rails that handles rendering views and templates. It works with Action Controller to separate the logic of a request from the rendering of the response. Views are written using templates that can be written in ERB or Builder formats. Partials and layouts allow breaking templates into reusable pieces. Action View provides helpers for forms, dates, numbers, assets and more to make working with models and templates easier.
Write your Helm charts as a professional. Design templates and inheritance. B...Volodymyr Shynkar
Helm is a new templating tool for your applications. As with any other tool, it has thicks and hacks that you probably heard, but haven’t actually tried. In this lesson, we will review some of those approaches and also pass through different ways of deploying project workloads to the Kubernetes cluster.
This document provides an introduction and overview of Ruby on Rails, including what it is, its key features and benefits, and how to get started building a basic web application with Rails. Some of the key points covered include Rails' emphasis on productivity through conventions over configuration, scaffolding, and its implementation of the MVC framework and full-stack capabilities. Examples are also given of generating a controller and view to output basic text and dynamic content.
Zend Framework includes the Zend_Layout and Zend_View components which help maintain a consistent look and feel across applications. Zend_Layout implements the two-step view pattern, separating application logic from presentation logic. It provides a controller plugin, action helper, and view helper. Zend_View enhancements like partials and placeholders help DRY up code. Using these components follows best practices and allows applications to scale more easily.
Revised Rails Engine Patterns for Montreal.rb meetup Oct 16, 2012Andy Maleh
Rails engines allow developers to reuse functionality across models, views, controllers, and assets in different Rails applications. This reduces duplication. Engines break common behavior out into reusable Ruby gems that can be included in an application's Gemfile. Applications can then customize models, controllers, views and other parts as needed by reopening or overriding classes and templates defined in the engine. Engines provide a way to share functionality while allowing customizations for different applications.
The Render API in Drupal 7 provides a system for rendering structured data arrays into output like HTML. It is an improved version of the Forms API rendering that uses drupal_render() to generate nearly all page output from render arrays. Render arrays allow elements and pages to be assembled, altered, and cached flexibly through a consistent rendering process. Themes can also interact with render arrays to style output without modifying module code.
This document provides an overview of Ruby on Rails, including:
[1] It describes Ruby on Rails as a web application framework written in Ruby that uses the model-view-controller pattern and includes features like REST, databases support, and code generation.
[2] The architecture of Rails is explained, including its modules like Action Pack, Active Record, and Railties.
[3] An example application is created to demonstrate generating a project, controller, and view in Rails.
"Paragraphs are more powerful than you can expect" from Vasily Jaremchuk for ...DrupalCamp Kyiv
Paragraphs is a next step in the evolution of content management tools. The main goal of paragraph approach to make things cleaner to content managers. End-users can now choose on-the-fly between predefined Paragraph Types. We can encapsulate any Drupal functionality into Paragraph Entity, anything you want from a simple text or image to a complex and configurable slideshow, views, contact form or any other feature that exists in Drupal separately.
The presentation will not include complex information for the developers. I’ll cover only some basic ideas in Paragraphs module architecture. After that I’ll mention the most popular and outstanding modules that extend paragraphs functionality (Bootstrap Paragraphs, Paragraphs Edit, Classy paragraphs, Geysir etc.).
There will be several demos and ideas how we can use paragraphs approach.
This is a presentation I made at my local Northern Virginia Ruby Users Group. It discusses the install, setup and use of a few useful Ruby on Rails plugins.
The document discusses setting up a Ruby on Rails web application. It explains how to install Ruby and Rails, configure the database, and generate models. The Rails directory structure is described, including the app, config, and db folders. Finally, it shows how to start the web server and create a basic Rails application.
The document discusses the Model-View-Controller (MVC) design pattern as implemented in the Symfony framework. It describes how MVC separates an application into three layers - the model layer defines the business logic and interacts with the database, the view layer defines the user interface, and the controller layer handles requests and coordinates the model and view. It provides details on how Symfony implements MVC through directories, templates, actions, and other framework components to build applications according to this pattern.
The document provides an overview of Angular including:
- Angular is an open source JavaScript framework for building web applications in HTML and JavaScript. It provides services and objects to create applications faster.
- Typescript is a programming language that adds optional static typing to JavaScript. It compiles to JavaScript.
- Modules, components, templates, metadata, services, and routes are architectural concepts in Angular that define application structure and functionality.
- Components control views and consist of templates, classes, and metadata. Services provide shared functionality across modules. Routes enable navigation between views.
The document summarizes new features in Rails 3.1 beta, including asset handling changes where JavaScript and CSS files are now placed in app/assets, identity maps to improve performance of object loading, simpler database migrations that use a single change method, and improved test output formatting. It also discusses installing Rails 3.1 in a isolated gemset and using Sass and CoffeeScript as default asset compilers.
1. Microservices architecture involves developing applications as a suite of independently deployable services that communicate through APIs and focus on business capabilities.
2. Key patterns include organizing around business capabilities with cross-functional teams, treating services as long-running products rather than projects, using smart endpoints and dumb pipes for communication, and decentralized governance and data management.
3. Other important patterns are automating infrastructure, designing for failure of services, and evolving designs over time rather than expecting a big bang migration to microservices.
This presentation introduces Elixir programming. It discusses that Elixir is a functional programming language that runs on the Erlang VM, which provides features like concurrency, fault tolerance, and distribution. It also highlights some key Elixir concepts like higher order functions, pattern matching, and OTP for building robust applications. Examples are provided to demonstrate defining a module, spawning processes, and working with basic data types in Elixir.
Racist syndrome (composition over inheritance)Al Sayed Gamal
This document discusses the "Racist Developer Syndrome" and uses a fictional scenario to illustrate how well-intentioned developers can end up creating offensive or problematic applications if they do not properly consider the implications of their design decisions. In the scenario, a developer is approached with requests to add increasingly questionable and stereotypical features to a game involving animals like a cat, dog, and robot. By the end, they are asked to create a "Killing Cat Robot." The document argues for an approach of "composition over inheritance" and designing based on capabilities rather than identity to avoid perpetuating harmful stereotypes.
Uploading an image or file is a very common/annoying task given the related post-upload work like styling and validating.
Fortunately, An Impressive gem called paperclip do that for us.
I18n in rails is very special part and it has some tricks and in this class we are attacking these 2 topics.
Nowadays almost there's no real application without solid authentication and authorization.
And almost every web app now either consumes or provides an API.
In this class we are using Devise gem to do the Authentication cancancan for authorization and rabl for APIs
In this day we talked about a very cool design pattern called ActiveRecord.
We also talked about Rails model associations, validations and callbacks.
We finally talked about the rails query interface.
This document provides an agenda for Day 2 of a Ruby on Rails course. It discusses inspecting scaffolded Rails applications and covers routes, controllers, migrations, models, views, and basic Rails commands. Routes define how code is triggered by HTTP requests. Controllers are at the center of the MVC framework and delegate tasks. Migrations track database schema changes over time to allow rolling back changes. Models represent application data and include validations and ORM functionality. Views use ERB syntax and partials to render application interfaces.
This document outlines the agenda for a Rails 101 course, including introductions about the instructor and expected experience levels of students. It discusses what Rails is, how to get it installed, and provides a crash course on Ruby and git. It describes how to generate a scaffold for a basic Rails app and assigns students to make minor modifications to the generated scaffold as their first assignment. The goal is for students to get hands-on experience with a Rails project in a professional environment.
Murano is an application catalog that enables OpenStack administrators to one-click deploy scalable and highly available composite apps.
Murano applications are specially developed applications that make full use of OpenStack resources.
https://github.com/stackforge/murano
The document discusses the concept of "fail fast" in software development. It advocates for failing immediately when errors are encountered rather than failing silently, which can lead to bugs appearing unexpectedly later on. It recommends using assertions to validate conditions and ensure failures occur early in development. Debugging is identified as the most annoying part of software work, and failing fast is presented as a solution to reduce debugging time by catching errors sooner.
The document outlines an agenda for a Git workshop. It covers getting started with Git, the Git workflow, tips and tricks, and social coding with GitHub. It discusses installing Git, creating repositories and commits, branching and merging, .gitignore files, git blame, testing before pushing, stashing changes, tagging releases, and references additional Git resources.
This document outlines an agenda for a Python tutorial session, beginning with an introduction to Python's motivation and essentials like data types, operators, and flow control. It then provides examples of expressions, variables, and basic data structures like lists, tuples, and dictionaries. The session demonstrates Python blocks like conditionals, loops, functions, classes and modules. It concludes by suggesting areas for further practice like system administration, web development, and games.
This document outlines an agenda for a web development training from novice to Django. It covers front-end technologies like HTML, CSS, JavaScript, jQuery as well as back-end topics like Python and the Django web framework. The timeline indicates that each section will include a review of essential skills and a code snippet demonstration. HTML topics covered include document structure, tags for text formatting, images, tables and forms. CSS is introduced for styling and grid systems. JavaScript fundamentals and jQuery are also discussed. For back-end development, Python is explained for its open source nature, cross-platform capabilities, ease of learning and dynamic features. Core Python concepts are reviewed along with a hands-on demo. Django is then introduced for its
This document outlines an agenda for a Python workshop from novice to ninja. It begins with an introduction and warning for beginners only. The agenda includes motivation for Python, essential Python concepts like data types and operators, basic application development with hands-on examples, and tips and tricks. It then covers why Python is a good choice, including being open source, cross-platform, easy to learn, and its growing community. Hands-on examples are provided to demonstrate scripting nature, functions, modules, and object-oriented programming. The workshop aims to help shape participants' experience with potential tracks like systems administration, web development, desktop applications, networking, and game development.
This Python 45 Minutes hangout covers data types, functions, sorting, exceptions, and code organization. It discusses containers like lists, tuples, sets and dictionaries, defining functions, exception handling with try-except blocks, and organizing code into modules and namespaces. The hangout provides an introduction to these core Python concepts and encourages participants to ask questions.
This document outlines an agenda for a 45-minute Python tutorial. The tutorial will cover interactive Python usage, basic data types like strings and integers, expressions and operators, functions, and more advanced topics like dictionaries and sets. The agenda includes an introduction to the presenter, instructions for participants to engage on Twitter using a hashtag, and leaves time at the end for questions.
Mansoura University CSED & Nozom web development sprintAl Sayed Gamal
The document outlines an agenda for a web development training covering client-side and server-side technologies. It discusses web browsers, HTML, CSS, JavaScript, mockup tools, server-side programming with Python and Django, databases with MySQL, and rapid application development methodologies. Key topics include the web scenario, HTML tags and document structure, CSS selectors and properties, JavaScript basics, mockups, Python syntax, the Django framework, and agile development with SCRUM.
Microservice Teams - How the cloud changes the way we workSven Peters
A lot of technical challenges and complexity come with building a cloud-native and distributed architecture. The way we develop backend software has fundamentally changed in the last ten years. Managing a microservices architecture demands a lot of us to ensure observability and operational resiliency. But did you also change the way you run your development teams?
Sven will talk about Atlassian’s journey from a monolith to a multi-tenanted architecture and how it affected the way the engineering teams work. You will learn how we shifted to service ownership, moved to more autonomous teams (and its challenges), and established platform and enablement teams.
Transform Your Communication with Cloud-Based IVR SolutionsTheSMSPoint
Discover the power of Cloud-Based IVR Solutions to streamline communication processes. Embrace scalability and cost-efficiency while enhancing customer experiences with features like automated call routing and voice recognition. Accessible from anywhere, these solutions integrate seamlessly with existing systems, providing real-time analytics for continuous improvement. Revolutionize your communication strategy today with Cloud-Based IVR Solutions. Learn more at: https://thesmspoint.com/channel/cloud-telephony
E-commerce Development Services- Hornet DynamicsHornet Dynamics
For any business hoping to succeed in the digital age, having a strong online presence is crucial. We offer Ecommerce Development Services that are customized according to your business requirements and client preferences, enabling you to create a dynamic, safe, and user-friendly online store.
UI5con 2024 - Bring Your Own Design SystemPeter Muessig
How do you combine the OpenUI5/SAPUI5 programming model with a design system that makes its controls available as Web Components? Since OpenUI5/SAPUI5 1.120, the framework supports the integration of any Web Components. This makes it possible, for example, to natively embed own Web Components of your design system which are created with Stencil. The integration embeds the Web Components in a way that they can be used naturally in XMLViews, like with standard UI5 controls, and can be bound with data binding. Learn how you can also make use of the Web Components base class in OpenUI5/SAPUI5 to also integrate your Web Components and get inspired by the solution to generate a custom UI5 library providing the Web Components control wrappers for the native ones.
WWDC 2024 Keynote Review: For CocoaCoders AustinPatrick Weigel
Overview of WWDC 2024 Keynote Address.
Covers: Apple Intelligence, iOS18, macOS Sequoia, iPadOS, watchOS, visionOS, and Apple TV+.
Understandable dialogue on Apple TV+
On-device app controlling AI.
Access to ChatGPT with a guest appearance by Chief Data Thief Sam Altman!
App Locking! iPhone Mirroring! And a Calculator!!
Using Query Store in Azure PostgreSQL to Understand Query PerformanceGrant Fritchey
Microsoft has added an excellent new extension in PostgreSQL on their Azure Platform. This session, presented at Posette 2024, covers what Query Store is and the types of information you can get out of it.
What to do when you have a perfect model for your software but you are constrained by an imperfect business model?
This talk explores the challenges of bringing modelling rigour to the business and strategy levels, and talking to your non-technical counterparts in the process.
8 Best Automated Android App Testing Tool and Framework in 2024.pdfkalichargn70th171
Regarding mobile operating systems, two major players dominate our thoughts: Android and iPhone. With Android leading the market, software development companies are focused on delivering apps compatible with this OS. Ensuring an app's functionality across various Android devices, OS versions, and hardware specifications is critical, making Android app testing essential.
3. Agenda
Views, partials and helpers
rendering and layout
adding haml and syntax difference
compared to ERB
adding twitter bootstrap and
responsive grid design basics
4. Views, partials and
helpers
Views are loaded by
convention.
Normal content will fall
in main yield part.
_ prefixed files are
called partials and are
rendered inside views
for reusability sake.
Example: _form in any
scaffold.
10. Installation and
Usage
add following gems to your Gemfile and bundle
gem 'twitter-bootstrap-rails'
gem 'haml'
gem ‘haml-rails'
now install bootstrap static assets
rails generate bootstrap:install static
Generate fluid layout
rails g bootstrap:layout application fluid*
Scaffold and style
rails g bootstrap:themed <scaffold_model>s
*remove the .erb default one
11. Add new regions to
layout
-if content_for?
= yield
= yield(:region)
= content_for do
12. Associated Model
form best practices
Use
”accepts_nested_att
ributes_for” to
accept data from
associated model.
Use
“fields_for” to show
this associated
model fields.
Use
”validated_associate
d” to validate related
model
Use
form builder’s
collection_* to link
related models
Example:
collection_select