This document discusses the growth of Ruby on Rails in Brazil in 2009. It highlights some key events and trends that contributed to Rails gaining popularity in Brazil that year, such as more training courses being offered on Rails and more job postings requiring Rails skills. It also showcases success stories of Brazilian companies using Rails to build their web applications.
The document discusses the agenda for an Enterprise JavaScript session, which includes recapping functions, exceptions, and the history object in JavaScript. It then goes into detail on the typeof operator, function properties like arguments and this, and how to use the call and apply methods. Hands-on exercises demonstrate working with arguments and exceptions. Finally, the document explains how the history object works and how HTML5 introduced new methods like pushState and replaceState to programmatically modify the browser history.
The document discusses Google App Engine and options for building applications on it using Ruby and a new language called Duby. It provides an overview of App Engine architecture and billing models. It then covers using Ruby with App Engine via JRuby, frameworks like Rack and Sinatra, and the DataMapper ORM. Duby is introduced as a statically-typed language inspired by Ruby syntax that compiles to Java bytecode for the App Engine environment. Examples show a simple blog application built in both Ruby and Duby styles.
The document provides an overview of SQLitePersistentObjects (SQLPO), an object-relational mapping (ORM) tool for SQLite databases on iPhone. It discusses how SQLPO allows defining persistent objects that can save and load data to/from a SQLite database with simple calls. Properties of persistent objects automatically map to database columns. SQLPO supports finding, filtering, indexing objects and more with minimal code. The document gives examples of defining persistent objects and performing common data operations like saving, loading, querying objects using SQLPO.
This document provides an overview of memcached, a distributed memory caching system. It discusses memcached's architecture, applications, clients including PHP clients, operations, optimizations, and alternatives. The document is presented by Andrei Zmievski from Digg at OSCON 2009 and focuses on using memcached for distributed PHP applications.
This document provides guidance for participating in model horse shows. It discusses choosing an appropriate horse model and giving it a name and description. It also covers grooming and showmanship requirements like tack boxes and patterns. The document explains halter and breed classes as well as pleasure and performance classes. It provides examples and tips for setting up entries, describing events, and sourcing model horse supplies.
The document discusses the agenda for an Enterprise JavaScript session, which includes recapping functions, exceptions, and the history object in JavaScript. It then goes into detail on the typeof operator, function properties like arguments and this, and how to use the call and apply methods. Hands-on exercises demonstrate working with arguments and exceptions. Finally, the document explains how the history object works and how HTML5 introduced new methods like pushState and replaceState to programmatically modify the browser history.
The document discusses Google App Engine and options for building applications on it using Ruby and a new language called Duby. It provides an overview of App Engine architecture and billing models. It then covers using Ruby with App Engine via JRuby, frameworks like Rack and Sinatra, and the DataMapper ORM. Duby is introduced as a statically-typed language inspired by Ruby syntax that compiles to Java bytecode for the App Engine environment. Examples show a simple blog application built in both Ruby and Duby styles.
The document provides an overview of SQLitePersistentObjects (SQLPO), an object-relational mapping (ORM) tool for SQLite databases on iPhone. It discusses how SQLPO allows defining persistent objects that can save and load data to/from a SQLite database with simple calls. Properties of persistent objects automatically map to database columns. SQLPO supports finding, filtering, indexing objects and more with minimal code. The document gives examples of defining persistent objects and performing common data operations like saving, loading, querying objects using SQLPO.
This document provides an overview of memcached, a distributed memory caching system. It discusses memcached's architecture, applications, clients including PHP clients, operations, optimizations, and alternatives. The document is presented by Andrei Zmievski from Digg at OSCON 2009 and focuses on using memcached for distributed PHP applications.
This document provides guidance for participating in model horse shows. It discusses choosing an appropriate horse model and giving it a name and description. It also covers grooming and showmanship requirements like tack boxes and patterns. The document explains halter and breed classes as well as pleasure and performance classes. It provides examples and tips for setting up entries, describing events, and sourcing model horse supplies.
Mais uma introdução à filosofia das comunidades Ruby e Rails, com ênfase no Ecossistema mais do que na Tecnologia.
Vídeo da 37signals: http://www.vimeo.com/6028818
Vídeo do Uncle Bob: http://www.vimeo.com/5196176
This document discusses Tkinter, a GUI toolkit for Python. It provides examples of basic Tkinter code for common widgets like buttons, labels, entries and more. It also covers Tkinter concepts like packing, grids, styling with themes, and events. The document seeks to demonstrate that Tkinter is simple to use yet robust, with a rich set of widgets and capabilities.
Software livre e padrões abertos no desenvolvimento WebFelipe Ribeiro
The document discusses the importance of open standards in web development. It covers how open standards like HTML, CSS, and TCP/IP allow different software to communicate independently of platform or programming language. It also discusses standards bodies like the W3C and how they regulate key web standards. Finally, it discusses PHP and how it is well-suited for both simple and complex web applications due to its open-source libraries and frameworks.
The document discusses functional JavaScript programming. It introduces functional programming concepts like avoiding state and mutable data, and having functions where the output depends only on the input. It provides examples of functions creating scope, using closures, and being lazy. It also discusses using functional techniques with libraries like jQuery, Dojo and YUI. The document aims to provide practical tips and experiences with a functional style in JavaScript.
MACRUBY: WHAT'S THE BIG DEAL?
Last year, Apple released MacRuby, an open source Ruby implementation
written on top of the Objective-C runtime. Writing native MacOSX
applications in Ruby without having to pay the cost of using a bridge
is now a reality. This is an important milestone for Ruby, Apple and
the Ruby community.
Matt Aimonetti explains the implementation, show how to build
desktop applications with MacRuby & HotCocoa, and discuss why Ruby
developers should add this new tool to their utility belt. Matt also talks about the future of MacRuby.
The document appears to be a slideshow presentation about Ruby on Rails. It discusses the history and evolution of Ruby and Rails, key concepts in Rails like RESTful resources and MVC patterns, and examples of Rails code including models, views, controllers and routing. The presentation contains many code samples and is over 100 slides long, intended to last under 1 hour.
The document appears to be source code for a Booking class in Java. It defines fields and methods for a booking, including the hotel, user, check-in/out dates, payment details, and other attributes. Methods include getters and setters for the fields, as well as transient methods to calculate total price and nights between dates. The class is annotated with JPA and Hibernate validation annotations.
This document discusses JRuby on Google App Engine. It provides an overview of Google App Engine, quotas and billing, current issues with JRuby on App Engine, required gems, the development app server, deployment process, available APIs, and sample code for using DataMapper and associations. It also lists resources for learning more about JRuby on App Engine.
The document appears to be a presentation about web application development trends. It discusses the rising popularity of frameworks like Django, Rails and PHP. It also covers topics like rich internet applications, latency, cloud computing, frameworks like Lift and Webmachine, and how web applications are changing for users, developers and operators. The presentation includes several images and recommends following Ted Leung online for more information.
This document contains the slides from a presentation about MacRuby. It discusses key aspects of MacRuby including its use of LLVM, ahead-of-time and just-in-time compilation, integration with Cocoa and Objective-C, lack of a global interpreter lock, Grand Central Dispatch API, debugger, ability to create compiled libraries and applications, and potential uses like building App Store apps. Examples are provided of using MacRuby with features like speech synthesis, location services, and the address book.
The document provides an overview of MongoDB, describing it as an open-source, high-performance, schema-free, document-oriented database. It then outlines some basic terms used in MongoDB like document, BSON, collection, and GridFS. The remainder of the document discusses technical aspects of MongoDB like administration, drivers, replication, sharding, and features such as queries, indexes, map reduce, and upserts. It concludes by reviewing several companies that use MongoDB successfully in production applications.
CouchDB is an append-only database that uses B-tree indexes to allow for efficient key lookups and range scans. It supports concurrent reads and writes through an append-only design that never overwrites data and incremental map reduce. CouchDB was designed to embrace the philosophies of HTTP, making data useful independent of location through replication.
Ruby On Rails Presentation Barcamp Antwerp.KeyBert Goethals
This document provides an introduction and overview of Ruby on Rails. It discusses how Ruby is a highly dynamic language that combines aspects of Smalltalk, Python, and Perl. It then introduces Rails as a web application framework built on Ruby that follows the MVC pattern. Key Rails concepts covered include ActiveRecord for models, controllers for handling requests and actions, and views for presenting information to users. The document also briefly mentions features like routing, sessions, exceptions, REST, helpers, and gems/plugins.
The document summarizes a presentation about the public beta release of Cloudera Desktop, a web-based platform for accessing and managing Hadoop clusters. Cloudera Desktop aims to improve the user experience of interacting with Hadoop by providing a desktop metaphor and allowing users to browse files, design and run jobs, and check cluster health directly from a web browser. The presentation demonstrates features of Cloudera Desktop and discusses the motivations for its web-based, desktop-inspired interface and extensible platform design. It encourages attendees to try the free public beta and provide feedback.
Using Puppet and Cobbler to Automate Your InfrastructurePhil Windley
The document discusses using Puppet and Cobbler to automate infrastructure. It describes how Cobbler can be used for machine provisioning, managing images and repositories, and kicking off installs. Puppet is then used to configure systems by specifying desired configurations and ensuring services and files are in the proper state. A deployment system is also described that allows controlled deployments of new code or configurations to servers using a simple command line tool. The key benefits highlighted are improved reliability, scalability, repeatability and reduced mistakes through automation of the provisioning and configuration process.
The document contains a presentation by Radoslav Stankov at OpenFest on November 5, 2011 about Backbone.js. It introduces key concepts of Backbone.js including Models, Views, and how they work together. It provides code examples of creating Models with attributes and events, creating Views with DOM elements, and binding View methods to DOM events.
Vagrant presentation at LA Ruby in September 2010.
The main takeaway for this presentation I wanted to give was the reasoning and importance for virtualization development environments.
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
More Related Content
Similar to 2009, o ano do Ruby on Rails no Brasil - CaelumDay 2009
Mais uma introdução à filosofia das comunidades Ruby e Rails, com ênfase no Ecossistema mais do que na Tecnologia.
Vídeo da 37signals: http://www.vimeo.com/6028818
Vídeo do Uncle Bob: http://www.vimeo.com/5196176
This document discusses Tkinter, a GUI toolkit for Python. It provides examples of basic Tkinter code for common widgets like buttons, labels, entries and more. It also covers Tkinter concepts like packing, grids, styling with themes, and events. The document seeks to demonstrate that Tkinter is simple to use yet robust, with a rich set of widgets and capabilities.
Software livre e padrões abertos no desenvolvimento WebFelipe Ribeiro
The document discusses the importance of open standards in web development. It covers how open standards like HTML, CSS, and TCP/IP allow different software to communicate independently of platform or programming language. It also discusses standards bodies like the W3C and how they regulate key web standards. Finally, it discusses PHP and how it is well-suited for both simple and complex web applications due to its open-source libraries and frameworks.
The document discusses functional JavaScript programming. It introduces functional programming concepts like avoiding state and mutable data, and having functions where the output depends only on the input. It provides examples of functions creating scope, using closures, and being lazy. It also discusses using functional techniques with libraries like jQuery, Dojo and YUI. The document aims to provide practical tips and experiences with a functional style in JavaScript.
MACRUBY: WHAT'S THE BIG DEAL?
Last year, Apple released MacRuby, an open source Ruby implementation
written on top of the Objective-C runtime. Writing native MacOSX
applications in Ruby without having to pay the cost of using a bridge
is now a reality. This is an important milestone for Ruby, Apple and
the Ruby community.
Matt Aimonetti explains the implementation, show how to build
desktop applications with MacRuby & HotCocoa, and discuss why Ruby
developers should add this new tool to their utility belt. Matt also talks about the future of MacRuby.
The document appears to be a slideshow presentation about Ruby on Rails. It discusses the history and evolution of Ruby and Rails, key concepts in Rails like RESTful resources and MVC patterns, and examples of Rails code including models, views, controllers and routing. The presentation contains many code samples and is over 100 slides long, intended to last under 1 hour.
The document appears to be source code for a Booking class in Java. It defines fields and methods for a booking, including the hotel, user, check-in/out dates, payment details, and other attributes. Methods include getters and setters for the fields, as well as transient methods to calculate total price and nights between dates. The class is annotated with JPA and Hibernate validation annotations.
This document discusses JRuby on Google App Engine. It provides an overview of Google App Engine, quotas and billing, current issues with JRuby on App Engine, required gems, the development app server, deployment process, available APIs, and sample code for using DataMapper and associations. It also lists resources for learning more about JRuby on App Engine.
The document appears to be a presentation about web application development trends. It discusses the rising popularity of frameworks like Django, Rails and PHP. It also covers topics like rich internet applications, latency, cloud computing, frameworks like Lift and Webmachine, and how web applications are changing for users, developers and operators. The presentation includes several images and recommends following Ted Leung online for more information.
This document contains the slides from a presentation about MacRuby. It discusses key aspects of MacRuby including its use of LLVM, ahead-of-time and just-in-time compilation, integration with Cocoa and Objective-C, lack of a global interpreter lock, Grand Central Dispatch API, debugger, ability to create compiled libraries and applications, and potential uses like building App Store apps. Examples are provided of using MacRuby with features like speech synthesis, location services, and the address book.
The document provides an overview of MongoDB, describing it as an open-source, high-performance, schema-free, document-oriented database. It then outlines some basic terms used in MongoDB like document, BSON, collection, and GridFS. The remainder of the document discusses technical aspects of MongoDB like administration, drivers, replication, sharding, and features such as queries, indexes, map reduce, and upserts. It concludes by reviewing several companies that use MongoDB successfully in production applications.
CouchDB is an append-only database that uses B-tree indexes to allow for efficient key lookups and range scans. It supports concurrent reads and writes through an append-only design that never overwrites data and incremental map reduce. CouchDB was designed to embrace the philosophies of HTTP, making data useful independent of location through replication.
Ruby On Rails Presentation Barcamp Antwerp.KeyBert Goethals
This document provides an introduction and overview of Ruby on Rails. It discusses how Ruby is a highly dynamic language that combines aspects of Smalltalk, Python, and Perl. It then introduces Rails as a web application framework built on Ruby that follows the MVC pattern. Key Rails concepts covered include ActiveRecord for models, controllers for handling requests and actions, and views for presenting information to users. The document also briefly mentions features like routing, sessions, exceptions, REST, helpers, and gems/plugins.
The document summarizes a presentation about the public beta release of Cloudera Desktop, a web-based platform for accessing and managing Hadoop clusters. Cloudera Desktop aims to improve the user experience of interacting with Hadoop by providing a desktop metaphor and allowing users to browse files, design and run jobs, and check cluster health directly from a web browser. The presentation demonstrates features of Cloudera Desktop and discusses the motivations for its web-based, desktop-inspired interface and extensible platform design. It encourages attendees to try the free public beta and provide feedback.
Using Puppet and Cobbler to Automate Your InfrastructurePhil Windley
The document discusses using Puppet and Cobbler to automate infrastructure. It describes how Cobbler can be used for machine provisioning, managing images and repositories, and kicking off installs. Puppet is then used to configure systems by specifying desired configurations and ensuring services and files are in the proper state. A deployment system is also described that allows controlled deployments of new code or configurations to servers using a simple command line tool. The key benefits highlighted are improved reliability, scalability, repeatability and reduced mistakes through automation of the provisioning and configuration process.
The document contains a presentation by Radoslav Stankov at OpenFest on November 5, 2011 about Backbone.js. It introduces key concepts of Backbone.js including Models, Views, and how they work together. It provides code examples of creating Models with attributes and events, creating Views with DOM elements, and binding View methods to DOM events.
Vagrant presentation at LA Ruby in September 2010.
The main takeaway for this presentation I wanted to give was the reasoning and importance for virtualization development environments.
Similar to 2009, o ano do Ruby on Rails no Brasil - CaelumDay 2009 (20)
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
Monitoring and Managing Anomaly Detection on OpenShift.pdfTosin Akinosho
Monitoring and Managing Anomaly Detection on OpenShift
Overview
Dive into the world of anomaly detection on edge devices with our comprehensive hands-on tutorial. This SlideShare presentation will guide you through the entire process, from data collection and model training to edge deployment and real-time monitoring. Perfect for those looking to implement robust anomaly detection systems on resource-constrained IoT/edge devices.
Key Topics Covered
1. Introduction to Anomaly Detection
- Understand the fundamentals of anomaly detection and its importance in identifying unusual behavior or failures in systems.
2. Understanding Edge (IoT)
- Learn about edge computing and IoT, and how they enable real-time data processing and decision-making at the source.
3. What is ArgoCD?
- Discover ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes, and its role in deploying applications on edge devices.
4. Deployment Using ArgoCD for Edge Devices
- Step-by-step guide on deploying anomaly detection models on edge devices using ArgoCD.
5. Introduction to Apache Kafka and S3
- Explore Apache Kafka for real-time data streaming and Amazon S3 for scalable storage solutions.
6. Viewing Kafka Messages in the Data Lake
- Learn how to view and analyze Kafka messages stored in a data lake for better insights.
7. What is Prometheus?
- Get to know Prometheus, an open-source monitoring and alerting toolkit, and its application in monitoring edge devices.
8. Monitoring Application Metrics with Prometheus
- Detailed instructions on setting up Prometheus to monitor the performance and health of your anomaly detection system.
9. What is Camel K?
- Introduction to Camel K, a lightweight integration framework built on Apache Camel, designed for Kubernetes.
10. Configuring Camel K Integrations for Data Pipelines
- Learn how to configure Camel K for seamless data pipeline integrations in your anomaly detection workflow.
11. What is a Jupyter Notebook?
- Overview of Jupyter Notebooks, an open-source web application for creating and sharing documents with live code, equations, visualizations, and narrative text.
12. Jupyter Notebooks with Code Examples
- Hands-on examples and code snippets in Jupyter Notebooks to help you implement and test anomaly detection models.
In the rapidly evolving landscape of technologies, XML continues to play a vital role in structuring, storing, and transporting data across diverse systems. The recent advancements in artificial intelligence (AI) present new methodologies for enhancing XML development workflows, introducing efficiency, automation, and intelligent capabilities. This presentation will outline the scope and perspective of utilizing AI in XML development. The potential benefits and the possible pitfalls will be highlighted, providing a balanced view of the subject.
We will explore the capabilities of AI in understanding XML markup languages and autonomously creating structured XML content. Additionally, we will examine the capacity of AI to enrich plain text with appropriate XML markup. Practical examples and methodological guidelines will be provided to elucidate how AI can be effectively prompted to interpret and generate accurate XML markup.
Further emphasis will be placed on the role of AI in developing XSLT, or schemas such as XSD and Schematron. We will address the techniques and strategies adopted to create prompts for generating code, explaining code, or refactoring the code, and the results achieved.
The discussion will extend to how AI can be used to transform XML content. In particular, the focus will be on the use of AI XPath extension functions in XSLT, Schematron, Schematron Quick Fixes, or for XML content refactoring.
The presentation aims to deliver a comprehensive overview of AI usage in XML development, providing attendees with the necessary knowledge to make informed decisions. Whether you’re at the early stages of adopting AI or considering integrating it in advanced XML development, this presentation will cover all levels of expertise.
By highlighting the potential advantages and challenges of integrating AI with XML development tools and languages, the presentation seeks to inspire thoughtful conversation around the future of XML development. We’ll not only delve into the technical aspects of AI-powered XML development but also discuss practical implications and possible future directions.
Infrastructure Challenges in Scaling RAG with Custom AI modelsZilliz
Building Retrieval-Augmented Generation (RAG) systems with open-source and custom AI models is a complex task. This talk explores the challenges in productionizing RAG systems, including retrieval performance, response synthesis, and evaluation. We’ll discuss how to leverage open-source models like text embeddings, language models, and custom fine-tuned models to enhance RAG performance. Additionally, we’ll cover how BentoML can help orchestrate and scale these AI components efficiently, ensuring seamless deployment and management of RAG systems in the cloud.
How to Get CNIC Information System with Paksim Ga.pptxdanishmna97
Pakdata Cf is a groundbreaking system designed to streamline and facilitate access to CNIC information. This innovative platform leverages advanced technology to provide users with efficient and secure access to their CNIC details.
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.
CAKE: Sharing Slices of Confidential Data on BlockchainClaudio Di Ciccio
Presented at the CAiSE 2024 Forum, Intelligent Information Systems, June 6th, Limassol, Cyprus.
Synopsis: Cooperative information systems typically involve various entities in a collaborative process within a distributed environment. Blockchain technology offers a mechanism for automating such processes, even when only partial trust exists among participants. The data stored on the blockchain is replicated across all nodes in the network, ensuring accessibility to all participants. While this aspect facilitates traceability, integrity, and persistence, it poses challenges for adopting public blockchains in enterprise settings due to confidentiality issues. In this paper, we present a software tool named Control Access via Key Encryption (CAKE), designed to ensure data confidentiality in scenarios involving public blockchains. After outlining its core components and functionalities, we showcase the application of CAKE in the context of a real-world cyber-security project within the logistics domain.
Paper: https://doi.org/10.1007/978-3-031-61000-4_16
Your One-Stop Shop for Python Success: Top 10 US Python Development Providersakankshawande
Simplify your search for a reliable Python development partner! This list presents the top 10 trusted US providers offering comprehensive Python development services, ensuring your project's success from conception to completion.
AI-Powered Food Delivery Transforming App Development in Saudi Arabia.pdfTechgropse Pvt.Ltd.
In this blog post, we'll delve into the intersection of AI and app development in Saudi Arabia, focusing on the food delivery sector. We'll explore how AI is revolutionizing the way Saudi consumers order food, how restaurants manage their operations, and how delivery partners navigate the bustling streets of cities like Riyadh, Jeddah, and Dammam. Through real-world case studies, we'll showcase how leading Saudi food delivery apps are leveraging AI to redefine convenience, personalization, and efficiency.
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
5. Yukihiro Matsumoto (Matz)
“Often people, especially
computer engineers, focus on the
machines. But in fact we
need
to focus on humans, on
how humans care about doing
programming or operating the
application of the machines. We
are the masters. They are the
slaves.”
Sunday, November 8, 2009
12. Java
class CalculadorDeMDC {
public int calcula(int a, int b) {
if (b == 0)
return a;
else
return calcula(b, a % b);
}
}
CalculadorDeMDC calculador = new CalculadorDeMDC();
System.out.println(calculador.calcula(28, 7));
Sunday, November 8, 2009
13. Ruby
class CalculadorDeMDC
def calcula(a, b)
if b == 0
a
else
calcula(b, a % b)
end
end
end
calculador = CalculadorDeMDC.new
puts calculador.calcula(28, 7)
Sunday, November 8, 2009
53. Test All The Fucking Time!
Testes
Sunday, November 8, 2009
54. TDD
Test Driven Development
BDD
Behavior Driven Development
Sunday, November 8, 2009
55. RSpec
it "should require acceptance of terms of service" do
@job.attributes = valid_job_attributes.except(:terms_accepted)
@job.should_not be_valid
@job.terms_accepted = false
@job.should_not be_valid
@job.terms_accepted = true
@job.should be_valid
end
Sunday, November 8, 2009
56. Cucumber
Feature: Job listing
In order to see the job offers in my area and start working
As a user
I want to see a list of jobs filtered by type and location
Scenario: Listing when there is no jobs
Given there is no jobs
When I go to "java"
Then I should see "Desculpe, não existem vagas disponíveis."
And the "OndeTrabalhar.com" field should contain "java"
Sunday, November 8, 2009
62. Hoje o Redeparede.com
serve 7,5 milhões de
acessos por mês
usando Ruby on Rails.
Rails escala, depende
de você!
Sunday, November 8, 2009
63. “Basecamp is now handling
more than 50 million Rails
requests per week. We're
peaking out at around 200
req/sec. Damn!”
“Basecamp's average
response time is 90ms
and 87% of all requests
finish in less than 200ms.”
Sunday, November 8, 2009
95. Formação Rails
RR-71: Desenvolvimento Ágil para RR-75: Ruby e Rails avançados:
Web 2.0 com Ruby on Rails lidando com problemas do dia a dia
Sunday, November 8, 2009