The document discusses design patterns from Java to Ruby. It covers singleton, observer, iterator, factory patterns and differences between Java and Ruby implementations. In Ruby, classes are objects and patterns like singleton, observer and iterator are built-in while factory pattern leverages dynamic typing by passing a class name as a string.
This presentation is an overview of general web design principles for journalists, including best practices in layout, typography, color selection, and more.
Rough overview of what you need to know to be a Rails developer. The presentation only outlines of numerous topics. It is a good starting point of what to look for and learn.
Mikhail Bortnyk, a senior developer at the Amoniac company, tells how to forget the pain of side effects and start to write your Erlang in Ruby.The presentation has been prepared for the Ruby Meditation conference #12.
Presented at the November '07 ThoughtWorks UK Away Day, the talk was centered around the various techniques used to create and mold your objects and domain model using declaritive, self-inspecting, and self-modifying code.
This presentation is an overview of general web design principles for journalists, including best practices in layout, typography, color selection, and more.
Rough overview of what you need to know to be a Rails developer. The presentation only outlines of numerous topics. It is a good starting point of what to look for and learn.
Mikhail Bortnyk, a senior developer at the Amoniac company, tells how to forget the pain of side effects and start to write your Erlang in Ruby.The presentation has been prepared for the Ruby Meditation conference #12.
Presented at the November '07 ThoughtWorks UK Away Day, the talk was centered around the various techniques used to create and mold your objects and domain model using declaritive, self-inspecting, and self-modifying code.
This is my presentation on Shanghai on Rails at 3.20. It introduces static code analysis for ruby, tells you a pattern to analysis ruby code and gives you some examples that how rails_best_practices analysis rails codes.
Ror Seminar With agilebd.org on 23 Jan09Shaer Hassan
This presentation is done by Code71 Team to the IT community in Bangladesh. The presentation covers the basics of Ruby on Rails and the advantage of it over many other contemporary languages to build web applications. It also mentions the strength of RoR by siting great quotes and examples of great sites.
RoR是Ruby on Rails的缩写,是一个用于编写Web应用的框架。他基于Ruby语言,给开发人员提供了强大便利的框架支持。Ruby有很多优点,但是一直以来其流行范围仅局限于日本。2004年,当Rails框架横空出世,让人们认识到了一个更符合实际需要并且高效的web框架,在其出现不久就受到了业内的广泛关注。吕国宁将结合自己三年的Rails开发经验,给大家介绍一些Rails的优点,背后的设计文化,以及Rails的前景发展等内容。
Do you have an experience to write a client application based on http? Such as fetching the contacts from email or writing a IM client. Some of the servers provide apis which make life better, but most of them not. So how can we get the data from these servers or communicating with these servers? This talk will teach you how to analysis the packets between client and server and share my experience about how to write the client application and how to do the test and refactor.
Ruby on Rails Web Development Best Practices and Tips.pdflubnayasminsebl
Welcome To
Ruby on Rails Web Development: Best Practices and Tips
You could be excused for believing that Ruby on Rails has outlived its usefulness after being around for 19 years. The truth is that RoR has grown stronger as a result, and it has no plans of stopping anytime soon. In fact, it's reasonable to assume that the Ruby programming language and the Ruby on Rails framework in particular can significantly increase your career prospects in 2023 and beyond if you're an aspiring professional web developer. We'll delve into Ruby on Rails in this post, exploring its features, applications, and value. By calculating the Ruby Rails Web Development need for Rails developers and determining the value Rails continues to provide for both small and large enterprises, we'll also examine the advantages of becoming a RoR developer in 2023.
Contents
• How does Ruby on Rails relate to the Ruby programming language? What is Ruby on Rails?
• Ruby on Rails: Is it dead?
• What does a developer of Ruby on Rails do?
• Why do developers use Ruby on Rails?
1. Complete stack
2. Scalable and reuseable
3. Quick and flexible
4. Beautiful and effective syntax
In 2023, why should you study Ruby on Rails?
In 2023, why should you study Ruby on Rails?
1. There is a greater-than-ever demand for Rails developers
2. As a Ruby on Rails developer, you can earn high salaries.
3. Career growth through a variety of Rails features
4. Ruby on Rails expertise is useful for businesses of all sizes
5. Upskilling in the active Rails open-source community is simple
In conclusion, how simple is it to learn Ruby on Rails?
How does Ruby on Rails relate to the Ruby programming language? What is Ruby on Rails?
Without initially discussing Ruby, there is no purpose in discussing Ruby on Rails. Ruby is a general-purpose, object-oriented programming language that was first introduced in 1995. It has specific advantages for online programming. The SEO Expate Bangladesh Ltd Ruby programming language is expanded by the software package library known as Rails, which was created at MIT under permission. To simplify the process of creating online apps, platforms, and web services, RoR essentially offers libraries of pre-made components and default structures that can be assembled, expanded, and updated. If Ruby were English, Ruby on Rails would be a collection of sample sentences, clauses, and paragraphs for producing business plans, proposals, reports, contracts, resumes, and other documents. We save time by using templates, and the outcomes are excellent. The Rails program is installed on.
Ruby on Rails: Is it dead?
The answer is unquestionably "No, Ruby on Rails is neither dead nor dying in 2023." Millions of people interact everyday with RoR-based apps, platforms, and websites, with relatively few annoyances or bugs, from Github and AirBnB to Soundcloud, Shopify, and Fiverr. You may be confident that a Ruby on Rails expert is around whenever an active RoR app is present. Even while it
This is my presentation on Shanghai on Rails at 3.20. It introduces static code analysis for ruby, tells you a pattern to analysis ruby code and gives you some examples that how rails_best_practices analysis rails codes.
Ror Seminar With agilebd.org on 23 Jan09Shaer Hassan
This presentation is done by Code71 Team to the IT community in Bangladesh. The presentation covers the basics of Ruby on Rails and the advantage of it over many other contemporary languages to build web applications. It also mentions the strength of RoR by siting great quotes and examples of great sites.
RoR是Ruby on Rails的缩写,是一个用于编写Web应用的框架。他基于Ruby语言,给开发人员提供了强大便利的框架支持。Ruby有很多优点,但是一直以来其流行范围仅局限于日本。2004年,当Rails框架横空出世,让人们认识到了一个更符合实际需要并且高效的web框架,在其出现不久就受到了业内的广泛关注。吕国宁将结合自己三年的Rails开发经验,给大家介绍一些Rails的优点,背后的设计文化,以及Rails的前景发展等内容。
Do you have an experience to write a client application based on http? Such as fetching the contacts from email or writing a IM client. Some of the servers provide apis which make life better, but most of them not. So how can we get the data from these servers or communicating with these servers? This talk will teach you how to analysis the packets between client and server and share my experience about how to write the client application and how to do the test and refactor.
Ruby on Rails Web Development Best Practices and Tips.pdflubnayasminsebl
Welcome To
Ruby on Rails Web Development: Best Practices and Tips
You could be excused for believing that Ruby on Rails has outlived its usefulness after being around for 19 years. The truth is that RoR has grown stronger as a result, and it has no plans of stopping anytime soon. In fact, it's reasonable to assume that the Ruby programming language and the Ruby on Rails framework in particular can significantly increase your career prospects in 2023 and beyond if you're an aspiring professional web developer. We'll delve into Ruby on Rails in this post, exploring its features, applications, and value. By calculating the Ruby Rails Web Development need for Rails developers and determining the value Rails continues to provide for both small and large enterprises, we'll also examine the advantages of becoming a RoR developer in 2023.
Contents
• How does Ruby on Rails relate to the Ruby programming language? What is Ruby on Rails?
• Ruby on Rails: Is it dead?
• What does a developer of Ruby on Rails do?
• Why do developers use Ruby on Rails?
1. Complete stack
2. Scalable and reuseable
3. Quick and flexible
4. Beautiful and effective syntax
In 2023, why should you study Ruby on Rails?
In 2023, why should you study Ruby on Rails?
1. There is a greater-than-ever demand for Rails developers
2. As a Ruby on Rails developer, you can earn high salaries.
3. Career growth through a variety of Rails features
4. Ruby on Rails expertise is useful for businesses of all sizes
5. Upskilling in the active Rails open-source community is simple
In conclusion, how simple is it to learn Ruby on Rails?
How does Ruby on Rails relate to the Ruby programming language? What is Ruby on Rails?
Without initially discussing Ruby, there is no purpose in discussing Ruby on Rails. Ruby is a general-purpose, object-oriented programming language that was first introduced in 1995. It has specific advantages for online programming. The SEO Expate Bangladesh Ltd Ruby programming language is expanded by the software package library known as Rails, which was created at MIT under permission. To simplify the process of creating online apps, platforms, and web services, RoR essentially offers libraries of pre-made components and default structures that can be assembled, expanded, and updated. If Ruby were English, Ruby on Rails would be a collection of sample sentences, clauses, and paragraphs for producing business plans, proposals, reports, contracts, resumes, and other documents. We save time by using templates, and the outcomes are excellent. The Rails program is installed on.
Ruby on Rails: Is it dead?
The answer is unquestionably "No, Ruby on Rails is neither dead nor dying in 2023." Millions of people interact everyday with RoR-based apps, platforms, and websites, with relatively few annoyances or bugs, from Github and AirBnB to Soundcloud, Shopify, and Fiverr. You may be confident that a Ruby on Rails expert is around whenever an active RoR app is present. Even while it
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
Sudheer Mechineni, Head of Application Frameworks, Standard Chartered Bank
Discover how Standard Chartered Bank harnessed the power of Neo4j to transform complex data access challenges into a dynamic, scalable graph database solution. This keynote will cover their journey from initial adoption to deploying a fully automated, enterprise-grade causal cluster, highlighting key strategies for modelling organisational changes and ensuring robust disaster recovery. Learn how these innovations have not only enhanced Standard Chartered Bank’s data infrastructure but also positioned them as pioneers in the banking sector’s adoption of graph technology.
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfPeter Spielvogel
Building better applications for business users with SAP Fiori.
• What is SAP Fiori and why it matters to you
• How a better user experience drives measurable business benefits
• How to get started with SAP Fiori today
• How SAP Fiori elements accelerates application development
• How SAP Build Code includes SAP Fiori tools and other generative artificial intelligence capabilities
• How SAP Fiori paves the way for using AI in SAP apps
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
GridMate - End to end testing is a critical piece to ensure quality and avoid...ThomasParaiso2
End to end testing is a critical piece to ensure quality and avoid regressions. In this session, we share our journey building an E2E testing pipeline for GridMate components (LWC and Aura) using Cypress, JSForce, FakerJS…
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024Neo4j
Neha Bajwa, Vice President of Product Marketing, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Design Pattern From Java To Ruby
1. Design Pattern
-- from Java to Ruby
Richard
Ekohe
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
2. Why use Design Pattern
For reuse
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
3. Why use Design Pattern
For communication
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
4. Why use Design Pattern
Define a Node interface, all of leaf nodes and
internal nodes should implements the
interface, internal nodes has a list that
For communication includes other internal nodes and leaf nodes
and it can add and remove sub-nodes. But
leaf node can’t have add sub-node method.
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
5. Why use Design Pattern
Define a Node interface, all of leaf nodes and
internal nodes should implements the
interface, internal nodes has a list that
For communication includes other internal nodes and leaf nodes
and it can add and remove sub-nodes. But
leaf node can’t have add sub-node method.
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
6. Why use Design Pattern
Define a Node interface, all of leaf nodes and
internal nodes should implements the
interface, internal nodes has a list that
For communication includes other internal nodes and leaf nodes
and it can add and remove sub-nodes. But
leaf node can’t have add sub-node method.
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
7. Why use Design Pattern
For communication
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
8. Why use Design Pattern
For communication
Composite
Pattern
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
9. Why use Design Pattern
For communication
Composite
Pattern
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
10. Difference from java to ruby
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
11. Difference from java to ruby
Classes are Objects
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
12. Difference from java to ruby
Classes are Objects
Messages, not function call
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
13. Difference from java to ruby
Classes are Objects
Messages, not function call
Duck Typing
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
14. Difference from java to ruby
Classes are Objects
Messages, not function call
Duck Typing
Mixin
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
15. Singleton Pattern
ensures a class has only one instance, and
provides a global point of access to it
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
17. Singleton Pattern
You are my
only wife
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
18. Singleton Pattern
You are my
You are my
only husband
only wife
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
19. Singleton Pattern -- java
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
20. Singleton Pattern -- java
Eager loading
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
21. Singleton Pattern -- java
Eager loading
Lazy loading
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
22. Singleton Pattern -- ruby
Ruby built-in singleton
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
23. Singleton Pattern -- ruby
Ruby built-in singleton
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
24. www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
25. www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
26. www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
27. www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
28. www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
29. Ruby for Design Pattern
Built-in (Singleton)
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
30. Observer Pattern
defines a one-to-many dependency between
objects so that when one object changes state,
all of its dependents are notified and updated
automatically
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
31. Observer Pattern
Subscribe
Temperature
Detector
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
32. Observer Pattern
Subscribe
Temprature
Temperature
changed
Detector
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
33. Observer Pattern
Notify Notify
Subscribe
Temprature
Temperature
changed
Detector
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
34. Observer Pattern -- java
Define interface by yourself
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
35. Observer Pattern -- java
Define interface by yourself
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
36. Observer Pattern -- java
Define interface by yourself
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
37. Observer Pattern -- java
Define interface by yourself
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
38. Observer Pattern -- java
Define interface by yourself
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
39. Observer Pattern -- java
Define interface by yourself
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
40. Observer Pattern -- java
Java built-in observer
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
41. Observer Pattern -- java
Java built-in observer
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
42. Observer Pattern -- ruby
Ruby built-in observer
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
43. Observer Pattern -- ruby
Ruby built-in observer
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
44. Observer Pattern -- ruby
Ruby built-in observer
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
45. www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
46. www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
47. www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
48. Ruby for Design Pattern
Built-in (Singleton, Observer)
Mixin
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
49. Iterator Pattern
provides a way to access the elements of an
aggregate object sequentially without exposing
its underlying representation
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
50. Iterator Pattern
Count 1 2 3 10
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
51. Iterator Pattern -- java
Java built-in Iterator and mock Iterator
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Merb - Offshore Web Development
52. Iterator Pattern -- java
Java built-in Iterator and mock Iterator
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Merb - Offshore Web Development
53. Iterator Pattern -- java
Java built-in Iterator and mock Iterator
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Merb - Offshore Web Development
54. Iterator Pattern -- java
Java built-in Iterator and mock Iterator
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Merb - Offshore Web Development
55. Iterator Pattern -- ruby
Nothing, just .each
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
56. Iterator Pattern -- ruby
Nothing, just .each
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
57. Iterator Pattern -- ruby
Nothing, just .each
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
58. Ruby for Design Pattern
Built-in (Singleton, Observer, Iterator)
Mixin
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
59. Simple Factory Pattern
returns an instance of one of several possible
classes, depending on the data provided to it.
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
60. Simple Factory Pattern
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
61. Simple Factory Pattern -- java
Compare with String, a lot of if/else
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
62. Simple Factory Pattern -- java
Compare with String, a lot of if/else
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
63. Simple Factory Pattern -- java
Compare with String, a lot of if/else
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
64. Simple Factory Pattern -- java
Compare with String, a lot of if/else
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
65. Simple Factory Pattern -- java
Compare with String, a lot of if/else
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
66. Simple Factory Pattern -- java
Compare with String, a lot of if/else
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
67. Simple Factory Pattern -- ruby
Classes are Objects
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
68. Simple Factory Pattern -- ruby
Classes are Objects
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
69. Simple Factory Pattern -- ruby
Classes are Objects
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
70. Simple Factory Pattern -- ruby
Classes are Objects
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
71. Ruby for Design Pattern
Built-in (Singleton, Observer, Iterator)
Mixin
Classes are Objects
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
72. Command Pattern
encapsulates a request as an object, thereby
letting you parameterize clients with different
requests, queue or log requests, and support
undoable operations.
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
74. Command Pattern -- java
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
75. Command Pattern -- java
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
76. Command Pattern -- java
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
77. Command Pattern -- java
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
78. Command Pattern -- java
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
79. Command Pattern -- ruby
Proc
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
80. Command Pattern -- ruby
Proc
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
81. Ruby for Design Pattern
Built-in (Singleton, Observer, Iterator)
Mixin
Classes are Objects
Proc
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
82. Other Design Patterns
Make use of ruby advantage
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
84. Ruby's Principle
DRY – Don't Repeat Yourself
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
85. Ruby's Principle
DRY – Don't Repeat Yourself
Convention Over Configuration
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
86. Resources
Design Pattern – Elements of Reusable Object-Oriented Software
Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides
Head First Design Pattern
Kathy Sierra, Bert Bates
Design Pattern in Ruby
Russ Olsen
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development
87. Q&A
happy to discuss and fix my mistakes
www.ekohe.com
Web Development & Graphic Design
China Ruby on Rails Development - Rails Consulting - Rails Services - Merb - Offshore Web Development