Enviar búsqueda
Cargar
Draper - Visnupriya - spriteXchange
•
Descargar como PPTX, PDF
•
0 recomendaciones
•
706 vistas
S
SPRITLE SOFTWARE PRIVATE LIMIT ED
Seguir
Draper, decorator, view decorators, Rails 3, Rails 4,
Leer menos
Leer más
Tecnología
Vista de diapositivas
Denunciar
Compartir
Vista de diapositivas
Denunciar
Compartir
1 de 7
Descargar ahora
Recomendados
Introduction to Rhodes - By Surendran - Spritle software
Introduction to Rhodes - By Surendran - Spritle software
SPRITLE SOFTWARE PRIVATE LIMIT ED
Introduction to Node.js by Vinothini B
Introduction to Node.js by Vinothini B
SPRITLE SOFTWARE PRIVATE LIMIT ED
Cross platform mobile apps using rhomobile and jquery mobile
Cross platform mobile apps using rhomobile and jquery mobile
SPRITLE SOFTWARE PRIVATE LIMIT ED
Intro to Amplifyjs by Visnupriya
Intro to Amplifyjs by Visnupriya
SPRITLE SOFTWARE PRIVATE LIMIT ED
Arduino for developers by Steve Robinson
Arduino for developers by Steve Robinson
SPRITLE SOFTWARE PRIVATE LIMIT ED
Intro to Raspberry Pi - by Sivakumar V
Intro to Raspberry Pi - by Sivakumar V
SPRITLE SOFTWARE PRIVATE LIMIT ED
Beginner's Guide to Angular 2.0
Beginner's Guide to Angular 2.0
All Things Open
Angular js and phonegap unite
Angular js and phonegap unite
FITC
Recomendados
Introduction to Rhodes - By Surendran - Spritle software
Introduction to Rhodes - By Surendran - Spritle software
SPRITLE SOFTWARE PRIVATE LIMIT ED
Introduction to Node.js by Vinothini B
Introduction to Node.js by Vinothini B
SPRITLE SOFTWARE PRIVATE LIMIT ED
Cross platform mobile apps using rhomobile and jquery mobile
Cross platform mobile apps using rhomobile and jquery mobile
SPRITLE SOFTWARE PRIVATE LIMIT ED
Intro to Amplifyjs by Visnupriya
Intro to Amplifyjs by Visnupriya
SPRITLE SOFTWARE PRIVATE LIMIT ED
Arduino for developers by Steve Robinson
Arduino for developers by Steve Robinson
SPRITLE SOFTWARE PRIVATE LIMIT ED
Intro to Raspberry Pi - by Sivakumar V
Intro to Raspberry Pi - by Sivakumar V
SPRITLE SOFTWARE PRIVATE LIMIT ED
Beginner's Guide to Angular 2.0
Beginner's Guide to Angular 2.0
All Things Open
Angular js and phonegap unite
Angular js and phonegap unite
FITC
Webpack and angularjs
Webpack and angularjs
Nir Kaufman
NativeScript Developer Day Keynote - Todd Anglin & Burke Holland
NativeScript Developer Day Keynote - Todd Anglin & Burke Holland
Brian Rinaldi
Prototyping Mobile Apps with NativeScript and Angular
Prototyping Mobile Apps with NativeScript and Angular
Mike Branstein
Why choose Angular 6?
Why choose Angular 6?
Priyanka Verma
NativeScript: Cross-Platform Mobile Apps with JavaScript and Angular
NativeScript: Cross-Platform Mobile Apps with JavaScript and Angular
Todd Anglin
Global Azure Bootcamp Québec - Container on Azure
Global Azure Bootcamp Québec - Container on Azure
Julien Maitrehenry
Cross-Platform Mobile Development with Ionic Framework and Angular
Cross-Platform Mobile Development with Ionic Framework and Angular
Movel
Cordova 101
Cordova 101
Rob Dudley
iPlayground: CarPlay and MFI Hearing Aids
iPlayground: CarPlay and MFI Hearing Aids
Weizhong Yang
Sinatra Heroku You And You - Keynote Format
Sinatra Heroku You And You - Keynote Format
Adam Lowe
Sinatra Heroku You And You - PDF Format
Sinatra Heroku You And You - PDF Format
Adam Lowe
React Native in a nutshell
React Native in a nutshell
Brainhub
Automating PhoneGap Build
Automating PhoneGap Build
Matt Gifford
HomeKitとNode.jsを使ってSiriでコントロールするなにか
HomeKitとNode.jsを使ってSiriでコントロールするなにか
kamiyam .
Rave in Context @ ApacheCon 2011
Rave in Context @ ApacheCon 2011
Sander van der Waal
Experiences building apps with React Native @DomCode 2016
Experiences building apps with React Native @DomCode 2016
Adrian Philipp
Cordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ Codeaholics
Eddie Lau
Intro to ionic 2
Intro to ionic 2
Jamal Sinclair O'Garro
OSGi Community Event 2010 - Eclipse Virgo Update
OSGi Community Event 2010 - Eclipse Virgo Update
mfrancis
Swagger code motion talk
Swagger code motion talk
Victor Trakhtenberg
Building Large Sustainable Apps
Building Large Sustainable Apps
Buğra Oral
Drupal Aware Design: Good Techniques for Better Themes
Drupal Aware Design: Good Techniques for Better Themes
nyccamp
Más contenido relacionado
La actualidad más candente
Webpack and angularjs
Webpack and angularjs
Nir Kaufman
NativeScript Developer Day Keynote - Todd Anglin & Burke Holland
NativeScript Developer Day Keynote - Todd Anglin & Burke Holland
Brian Rinaldi
Prototyping Mobile Apps with NativeScript and Angular
Prototyping Mobile Apps with NativeScript and Angular
Mike Branstein
Why choose Angular 6?
Why choose Angular 6?
Priyanka Verma
NativeScript: Cross-Platform Mobile Apps with JavaScript and Angular
NativeScript: Cross-Platform Mobile Apps with JavaScript and Angular
Todd Anglin
Global Azure Bootcamp Québec - Container on Azure
Global Azure Bootcamp Québec - Container on Azure
Julien Maitrehenry
Cross-Platform Mobile Development with Ionic Framework and Angular
Cross-Platform Mobile Development with Ionic Framework and Angular
Movel
Cordova 101
Cordova 101
Rob Dudley
iPlayground: CarPlay and MFI Hearing Aids
iPlayground: CarPlay and MFI Hearing Aids
Weizhong Yang
Sinatra Heroku You And You - Keynote Format
Sinatra Heroku You And You - Keynote Format
Adam Lowe
Sinatra Heroku You And You - PDF Format
Sinatra Heroku You And You - PDF Format
Adam Lowe
React Native in a nutshell
React Native in a nutshell
Brainhub
Automating PhoneGap Build
Automating PhoneGap Build
Matt Gifford
HomeKitとNode.jsを使ってSiriでコントロールするなにか
HomeKitとNode.jsを使ってSiriでコントロールするなにか
kamiyam .
Rave in Context @ ApacheCon 2011
Rave in Context @ ApacheCon 2011
Sander van der Waal
Experiences building apps with React Native @DomCode 2016
Experiences building apps with React Native @DomCode 2016
Adrian Philipp
Cordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ Codeaholics
Eddie Lau
Intro to ionic 2
Intro to ionic 2
Jamal Sinclair O'Garro
OSGi Community Event 2010 - Eclipse Virgo Update
OSGi Community Event 2010 - Eclipse Virgo Update
mfrancis
Swagger code motion talk
Swagger code motion talk
Victor Trakhtenberg
La actualidad más candente
(20)
Webpack and angularjs
Webpack and angularjs
NativeScript Developer Day Keynote - Todd Anglin & Burke Holland
NativeScript Developer Day Keynote - Todd Anglin & Burke Holland
Prototyping Mobile Apps with NativeScript and Angular
Prototyping Mobile Apps with NativeScript and Angular
Why choose Angular 6?
Why choose Angular 6?
NativeScript: Cross-Platform Mobile Apps with JavaScript and Angular
NativeScript: Cross-Platform Mobile Apps with JavaScript and Angular
Global Azure Bootcamp Québec - Container on Azure
Global Azure Bootcamp Québec - Container on Azure
Cross-Platform Mobile Development with Ionic Framework and Angular
Cross-Platform Mobile Development with Ionic Framework and Angular
Cordova 101
Cordova 101
iPlayground: CarPlay and MFI Hearing Aids
iPlayground: CarPlay and MFI Hearing Aids
Sinatra Heroku You And You - Keynote Format
Sinatra Heroku You And You - Keynote Format
Sinatra Heroku You And You - PDF Format
Sinatra Heroku You And You - PDF Format
React Native in a nutshell
React Native in a nutshell
Automating PhoneGap Build
Automating PhoneGap Build
HomeKitとNode.jsを使ってSiriでコントロールするなにか
HomeKitとNode.jsを使ってSiriでコントロールするなにか
Rave in Context @ ApacheCon 2011
Rave in Context @ ApacheCon 2011
Experiences building apps with React Native @DomCode 2016
Experiences building apps with React Native @DomCode 2016
Cordova, Angularjs & Ionic @ Codeaholics
Cordova, Angularjs & Ionic @ Codeaholics
Intro to ionic 2
Intro to ionic 2
OSGi Community Event 2010 - Eclipse Virgo Update
OSGi Community Event 2010 - Eclipse Virgo Update
Swagger code motion talk
Swagger code motion talk
Similar a Draper - Visnupriya - spriteXchange
Building Large Sustainable Apps
Building Large Sustainable Apps
Buğra Oral
Drupal Aware Design: Good Techniques for Better Themes
Drupal Aware Design: Good Techniques for Better Themes
nyccamp
Refactoring Fat Models: Trying to be a Software Engineer
Refactoring Fat Models: Trying to be a Software Engineer
Jyaasa Technologies
Markup Ain't Easy or: How I Learned to love An Object-Oriented RenderAPI
Markup Ain't Easy or: How I Learned to love An Object-Oriented RenderAPI
c4rl
Decorator & Presenter Design Pattern
Decorator & Presenter Design Pattern
DonSchado
Draper presentation
Draper presentation
alexpeachey
Ottawa Puppet User Group - Publishing a Module on the Puppet Forge
Ottawa Puppet User Group - Publishing a Module on the Puppet Forge
Bill Fraser
The Modern Java Web Developer - Denver JUG 2013
The Modern Java Web Developer - Denver JUG 2013
Matt Raible
2. intro to java
2. intro to java
Vishal Singh
2. intro to java
2. intro to java
Vishal Singh
IncQuery Server for Teamwork Cloud - Talk at IW2019
IncQuery Server for Teamwork Cloud - Talk at IW2019
Istvan Rath
Reduce API Security Risk by Leveraging Graph Analytics Webinar Slides
Reduce API Security Risk by Leveraging Graph Analytics Webinar Slides
Neo4j
Code refactor strategy part #1
Code refactor strategy part #1
Tracy LOISEL
Alex Theedom Java ee revisits design patterns
Alex Theedom Java ee revisits design patterns
Аліна Шепшелей
SE2016 Java Alex Theedom "Java EE revisits design patterns"
SE2016 Java Alex Theedom "Java EE revisits design patterns"
Inhacking
Segue to design patterns
Segue to design patterns
Rahul Singh
Beyond rails new
Beyond rails new
Paul Oguda
JFall 2016: Oracle JET Session
JFall 2016: Oracle JET Session
Geertjan Wielenga
Imworld.ro
Imworld.ro
Geertjan Wielenga
GGX 2014 Lari Hotari Modular Monoliths with Spring Boot and Grails 3
GGX 2014 Lari Hotari Modular Monoliths with Spring Boot and Grails 3
Lari Hotari
Similar a Draper - Visnupriya - spriteXchange
(20)
Building Large Sustainable Apps
Building Large Sustainable Apps
Drupal Aware Design: Good Techniques for Better Themes
Drupal Aware Design: Good Techniques for Better Themes
Refactoring Fat Models: Trying to be a Software Engineer
Refactoring Fat Models: Trying to be a Software Engineer
Markup Ain't Easy or: How I Learned to love An Object-Oriented RenderAPI
Markup Ain't Easy or: How I Learned to love An Object-Oriented RenderAPI
Decorator & Presenter Design Pattern
Decorator & Presenter Design Pattern
Draper presentation
Draper presentation
Ottawa Puppet User Group - Publishing a Module on the Puppet Forge
Ottawa Puppet User Group - Publishing a Module on the Puppet Forge
The Modern Java Web Developer - Denver JUG 2013
The Modern Java Web Developer - Denver JUG 2013
2. intro to java
2. intro to java
2. intro to java
2. intro to java
IncQuery Server for Teamwork Cloud - Talk at IW2019
IncQuery Server for Teamwork Cloud - Talk at IW2019
Reduce API Security Risk by Leveraging Graph Analytics Webinar Slides
Reduce API Security Risk by Leveraging Graph Analytics Webinar Slides
Code refactor strategy part #1
Code refactor strategy part #1
Alex Theedom Java ee revisits design patterns
Alex Theedom Java ee revisits design patterns
SE2016 Java Alex Theedom "Java EE revisits design patterns"
SE2016 Java Alex Theedom "Java EE revisits design patterns"
Segue to design patterns
Segue to design patterns
Beyond rails new
Beyond rails new
JFall 2016: Oracle JET Session
JFall 2016: Oracle JET Session
Imworld.ro
Imworld.ro
GGX 2014 Lari Hotari Modular Monoliths with Spring Boot and Grails 3
GGX 2014 Lari Hotari Modular Monoliths with Spring Boot and Grails 3
Último
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
apidays
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Zilliz
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Zilliz
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
MadyBayot
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
apidays
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vázquez
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
WSO2
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
apidays
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
apidays
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Product Anonymous
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
Remote DBA Services
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
sammart93
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
johnbeverley2021
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Angeliki Cooney
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Jeffrey Haguewood
Último
(20)
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Draper - Visnupriya - spriteXchange
1.
Draper Decorators/View-Models for Rails
Applications Visnupriya. J .R 7th April 2014 @visnupriya90| github.com/visnupriya © Spritle Software Private Limited | http://www.spritle.com
2.
What is Draper? •
object-oriented layer of presentation logic to your Rails application. • The idea of Draper is to provide real ruby class between the template and the model. • To decorate templates. © Spritle Software Private Limited | http://www.spritle.com
3.
Why use Draper? •
Clean up complex view logic • Provides decorators which bundles view logic in an object oriented fashion • Easy to test than helpers • Code readability and easy to maintain • Code reuse © Spritle Software Private Limited | http://www.spritle.com
4.
What is Decorator
Pattern? • It is a design pattern. • It allows behavior to be added to an individual object, either statically or dynamically, without affecting the behavior of other objects from the same class © Spritle Software Private Limited | http://www.spritle.com
5.
Let’s see how
to use? • Add Draper to your Gemfile • Generate decorator for a model as shown below • rails generate decorator Article © Spritle Software Private Limited | http://www.spritle.com
6.
SAMPLE CODE Time to
wakeup © Spritle Software Private Limited | http://www.spritle.com
7.
Questions? Thank you © Spritle
Software Private Limited | http://www.spritle.com
Descargar ahora