SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Downloaden Sie, um offline zu lesen
RUBY ON RAIL

Origin

Ruby on Rails, often shortened to Rails and sometimes known as "RoR", is an open source full-stack
web application framework for the Ruby programming language. Ruby on Rails is not to be confused
with Ruby, which is a general-purpose programming language, on which Ruby on Rails runs. Ruby itself
existed for more than 10 years before the first release of Ruby on Rails. Rails is a full-stack framework,
meaning that it gives the Web developer the full ability to gather information from the web server, talking
to or querying the database, and template rendering out of the box. As a result, Rails features a routing
system that is independent of the Web server.

David Heinemeier Hansson extracted Ruby on Rails from his work on Basecamp, a project management
tool by 37signals (now a web application company). Hansson first released Rails as open source in July
2004, but did not share commit rights to the project until February 2005. In August 2006, the framework
reached a milestone when Apple announced that it would ship Ruby on Rails with Mac OS X v10.5
"Leopard",which was released in October 2007.

Rails version 2.3 was released on March 15, 2009. Major new developments in Rails include templates,
engines, Rack and nested model forms. Templates enable the developer to generate a skeleton application
with custom gems and configurations. Engines let one reuse application pieces complete with routes, view
paths and models. The Rack web server interface and Metal allow one to write optimized pieces of code
that route around ActionController.

On December 23, 2008, Merb, another web application framework, was launched, and Ruby on Rails
announced it would work with the Merb project to bring "the best ideas of Merb" into Rails 3, ending the
"unnecessary duplication" across both communities. Merb was merged with Rails as part of the Rails 3.0
release. Rails 3.1 were released on August 31, 2011, featuring reversible database migrations, and the
asset pipeline.

Today, Rails is one of the leading agile languages used for web development, rivaling PHP as the leading
web programming language.

Version history
Version Date
        December 13, 2005
        January 19, 2007
        December 7, 2007
        June 1, 2008
        November 21, 2008
        March 16, 2009
        August 29, 2010
        August 31, 2011

Framework structure

Ruby on Rails is separated into various packages, namely
ď‚·   ActiveRecord (an object-relational mapping system for database access),
    ď‚·   ActiveResource (provides web services),
    ď‚·   ActionPack: Action Pack is a single gem that contains Action Controller, Action View and
        Action Dispatch. The “VC” part of “MVC”.

    ď‚·   ActiveSupport: Active Support is an extensive collection of utility classes and standard Ruby
        library extensions that are used in Rails, both by the core code and by your applications.

    ď‚·   ActionMailer: Action Mailer is a framework for building e-mail services. You can use Action
        Mailer to receive and process incoming email and send simple plain text or complex multipart
        emails based on flexible templates.

Prior to version 2.0, Ruby on Rails also included the Action Web Service package that is now replaced by
Active Resource. Apart from standard packages, developers can make plugins to extend existing
packages.

Basic Ruby Language Elements

    ď‚·   Structure of statements and comments.
    ď‚·   Variables and constants.
    ď‚·   Operators. Assignments, calculations, etc. Integer, float and string formats.
    ď‚·   Single and double quotes, here documents, general strings.


Control Structures

    ď‚·   Blocks and the if statement.

    ď‚·   Writing conditions.

    ď‚·   Comparative, boolean and range operators.

    ď‚·   Conditionals - if, unless, case, etc. Loops - while, for in, until, etc. break, next,retry and redo.
        defined? and ternary operators.

Rails structures -

   ď‚·    WEBrick servers,

   ď‚·    URLs and embedded code.

   ď‚·    Directory structure.

   ď‚·    Database connections.
AREA OF APPLICATION

Ruby on rail has been used for ten thousands of application around the world. This is a short over view of
most prolific.




Basecamp: The original Rails                                      Shopify:   E-commerce     made
                             Twitter: Stay connected.
app.                                                              easy.




                                                                  Livingsocial:   Online    local
Yellow Pages: Find it locally.   Github: Git repo hosting.
                                                                  commerce.




Sortfolio: Find a web designer. Hulu: Stream TV & Movies.         Groupon: Daily deals.




                                 Backpack:             Personal
Geni: Find your ancestors.                                        Ravelry: Knitting community.
                                 organization.
43things: Your goals in life.         Justin TV: Live video.       Scribd:   Books,   presentations,
                                                                   more.




                                      Streeteasy: Find a place in
iLike: Find more music.                                           Chow: Food, drink, fun.
                                      NYC.




Harvest: Tracking time since Inkling Markets: Trade the
                                                        A List Apart: 'zine for web devs.
'06.                         future.




Revolution      Health:         Get
                                      New York Jets: Play ball!    Mingle2: Get a date.
healthy.
Advantages and Disadvantages

Advantages:

    ď‚·     Less code needed (Don't Repeat Yourself)
    ď‚·     No configuration Files required
    ď‚·     Open source project
    ď‚·     Changes visible instantly
    ď‚·     Forgiving code Documentation is not extensive
    ď‚·     Scalability is often a problem interpretation

Disadvantages:

    ď‚·     Documentation is not extensive
    ď‚·     Scalability is often a problem
    ď‚·     "Newness" makes potential users wary
    ď‚·     Undocumented behaviors
    ď‚·     Difficulty in finding experienced RoR programmers



                                                    Oracle

History

For more than three and a half decades, Oracle has been the leader in database software. And as it has
further developed technologies and acquired best-in-class companies over the years, that leadership has
expanded to the entire technology stack, from servers and storage, to database and middleware, through
applications and into the cloud.
It all began when Larry Ellison saw an opportunity other companies missed: a description of a working
prototype for a relational database. No company had committed to commercializing the technology, but
Ellison and co-founders Bob Miner and Ed Oates realized the tremendous business potential of the
relational database model. None of them realized at the time that the company they formed would change
the face of business computing.
Throughout its history Oracle has proved it can build for the future on the foundation of its innovations
and its knowledge of customer challenges and successes analyzed by the best technical and business
minds in the world.

Physical and logical structures
An Oracle database system—identified by an alphanumeric system identifier or SID—comprises at least
one instance of the application, along with data storage. An instance—identified persistently by an
instantiation number (or activation id: SYS.V_$DATABASE.ACTIVATION#)—comprises a set of
operating-system processes and memory-structures that interact with the storage. (Typical processes
include PMON (the process monitor) and SMON (the system monitor).) Oracle documentation can refer
to an active database instance as a "shared memory realm".

Users of Oracle databases refer to the server-side memory-structure as the SGA (System Global Area).
The SGA typically holds cache information such as data-buffers, SQL commands, and user information.
In addition to storage, the database consists of online redo logs (or logs), which hold transactional history.
Processes can in turn archive the online redo logs into archive logs (offline redo logs), which provide the
basis (if necessary) for data recovery and for the physical-standby forms of data replication using Oracle
Data Guard.

If the Oracle database administrator has implemented Oracle RAC (Real Application Clusters), then
multiple instances, usually on different servers, attach to a central storage array. This scenario offers
advantages such as better performance, scalability and redundancy. However, support becomes more
complex, and many sites do not use RAC. In version 10g, grid computing introduced shared resources
where an instance can use (for example) CPU resources from another node (computer) in the grid.

The Oracle DBMS can store and execute stored procedures and functions within itself. PL/SQL (Oracle
Corporation's proprietary procedural extension to SQL), or the object-oriented language Java can invoke
such code objects and/or provide the programming structures for writing them.

The basic memory structures associated with an Oracle instance include the following:

    ď‚·   System Global Area (SGA): Shared by all server and background processes
    ď‚·   Program Global Area (PGA): Private to each server and background process. There is one PGA
        for each process.

The SGA is a memory area that contains data and control information for the instance.

The SGA includes the following data structures:

    ď‚·   Database buffer cache: Caches blocks of data retrieved from the database
    ď‚·   Redo log buffer: Caches redo information (used for instance recovery) until it can be written to
        the physical redo log files stored on the disk
    ď‚·   Shared pool: Caches various constructs that can be shared among users
    ď‚·   Large pool: Is an optional area that provides large memory allocations for certain large processes,
        such as Oracle backup and recovery operations, and I/O server processes
    ď‚·   Java pool: Is used for all session-specific Java code and data within the Java Virtual Machine
        (JVM)
    ď‚·   Streams pool: Is used by Oracle Streams

When you start the instance by using Enterprise Manager or SQL*Plus, the amount of memory allocated
for the SGA is displayed.
A Program Global Area (PGA) is a memory region that contains data and control information for each
server process. An Oracle server process services a client’s requests. Each server process has its own
private PGA that is created when the server process is started. Access to the PGA is exclusive to that
server process, and the PGA is read and written only by the Oracle code acting on its behalf.

With the dynamic SGA infrastructure, the size of the database buffer cache, the shared pool, the large
pool, the Java pool, and the Streams pool changes without shutting down the instance.

The Oracle database uses initialization parameters to create and configure memory structures. For
example, the SGA_TARGET parameter specifies the total size of the SGA. If you set SGA_TARGET to
0, Automatic Shared Memory Management is disabled.




When you invoke an application program or an Oracle tool, such as Enterprise Manager, the Oracle server
creates a server process to execute the commands issued by the application. The Oracle server also creates
a set of background processes for an instance that interact with each other and with the operating system
to manage the memory structures, asynchronously perform I/O to write data to disk, and perform other
required tasks. Which background processes are present depends on the features that are being used in the
database.
An Oracle database server consists of an Oracle database and an Oracle instance. An Oracle instance is
made up of memory structures, known as the System Global Area (SGA), and background processes that
handle much of the behind-the-scenes work involved in running an instance. The most common
background processes are the following:

    ď‚·   System Monitor (SMON): Performs crash recovery when the instance is started following a
        failure
    ď‚·   Process Monitor (PMON): Performs process cleanup when a user process fails
    ď‚·   Database Writer (DBWn): Writes modified blocks from the database buffer cache to the data files
        on the disk
    ď‚·   Checkpoint (CKPT): Updates all the data files and control files of the database to indicate the
        most recent checkpoint
    ď‚·   LogWriter (LGWR): Writes redo log entries to the disk
    ď‚·   Archiver (ARCn): Copies redo log files to the archival storage when a log switch occurs

Oracle Applications
Oracle Applications comprise the applications software or business software of Oracle Corporation. The
term refers to the non-database and non-middleware parts of Oracle's software portfolio.

Oracle sells many functional modules which use the Oracle RDBMS as a back-end, notably Oracle
Financials, Oracle HRMS, Oracle Projects,[1] Oracle CRM, Oracle Procurement, etc.

Oracle initially launched its application suite with financials software in the late 1980s. The offering as of
2009 extends to supply-chain management, human-resource management, warehouse-management,
customer-relationship management, call-center services, product-lifecycle management, and many other
areas. Both in-house expansion and the acquisition of other companies have vastly expanded Oracle's
application software business.

Oracle released Oracle E-Business Suite (EBS/ e-BS) Release 12 (R12) — a bundling of several Oracle
Applications applications — in February 2007. The release date coincided with new releases of other
Oracle-owned products: JD Edwards EnterpriseOne, Siebel Systems and PeopleSoft. As of 2012 Oracle
supports Release 11.5.10.2, Release 12.0.X, and Release 12.1.X of the Oracle E-Business Suite. The latest
release of the software is called Oracle EBS R12.

Advantages:

    ď‚·   It supports very large size databases

    ď‚·   Security

    ď‚·   Consistency

    ď‚·   High level availability

    ď‚·   Lower downtime

    ď‚·   Good performance

    ď‚·   Oracle runs faster

        Disadvantages:

    ď‚·   Expensive

    ď‚·   Complex to maintain

    ď‚·   are few advantages and disadvantage of oracle.

Weitere ähnliche Inhalte

KĂĽrzlich hochgeladen

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 

KĂĽrzlich hochgeladen (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
CĂłdigo Creativo y Arte de Software | Unidad 1
CĂłdigo Creativo y Arte de Software | Unidad 1CĂłdigo Creativo y Arte de Software | Unidad 1
CĂłdigo Creativo y Arte de Software | Unidad 1
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 

Empfohlen

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data ScienceChristy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slidesAlireza Esmikhani
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

Empfohlen (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

ruby on rail and oracle

  • 1. RUBY ON RAIL Origin Ruby on Rails, often shortened to Rails and sometimes known as "RoR", is an open source full-stack web application framework for the Ruby programming language. Ruby on Rails is not to be confused with Ruby, which is a general-purpose programming language, on which Ruby on Rails runs. Ruby itself existed for more than 10 years before the first release of Ruby on Rails. Rails is a full-stack framework, meaning that it gives the Web developer the full ability to gather information from the web server, talking to or querying the database, and template rendering out of the box. As a result, Rails features a routing system that is independent of the Web server. David Heinemeier Hansson extracted Ruby on Rails from his work on Basecamp, a project management tool by 37signals (now a web application company). Hansson first released Rails as open source in July 2004, but did not share commit rights to the project until February 2005. In August 2006, the framework reached a milestone when Apple announced that it would ship Ruby on Rails with Mac OS X v10.5 "Leopard",which was released in October 2007. Rails version 2.3 was released on March 15, 2009. Major new developments in Rails include templates, engines, Rack and nested model forms. Templates enable the developer to generate a skeleton application with custom gems and configurations. Engines let one reuse application pieces complete with routes, view paths and models. The Rack web server interface and Metal allow one to write optimized pieces of code that route around ActionController. On December 23, 2008, Merb, another web application framework, was launched, and Ruby on Rails announced it would work with the Merb project to bring "the best ideas of Merb" into Rails 3, ending the "unnecessary duplication" across both communities. Merb was merged with Rails as part of the Rails 3.0 release. Rails 3.1 were released on August 31, 2011, featuring reversible database migrations, and the asset pipeline. Today, Rails is one of the leading agile languages used for web development, rivaling PHP as the leading web programming language. Version history Version Date December 13, 2005 January 19, 2007 December 7, 2007 June 1, 2008 November 21, 2008 March 16, 2009 August 29, 2010 August 31, 2011 Framework structure Ruby on Rails is separated into various packages, namely
  • 2. ď‚· ActiveRecord (an object-relational mapping system for database access), ď‚· ActiveResource (provides web services), ď‚· ActionPack: Action Pack is a single gem that contains Action Controller, Action View and Action Dispatch. The “VC” part of “MVC”. ď‚· ActiveSupport: Active Support is an extensive collection of utility classes and standard Ruby library extensions that are used in Rails, both by the core code and by your applications. ď‚· ActionMailer: Action Mailer is a framework for building e-mail services. You can use Action Mailer to receive and process incoming email and send simple plain text or complex multipart emails based on flexible templates. Prior to version 2.0, Ruby on Rails also included the Action Web Service package that is now replaced by Active Resource. Apart from standard packages, developers can make plugins to extend existing packages. Basic Ruby Language Elements ď‚· Structure of statements and comments. ď‚· Variables and constants. ď‚· Operators. Assignments, calculations, etc. Integer, float and string formats. ď‚· Single and double quotes, here documents, general strings. Control Structures ď‚· Blocks and the if statement. ď‚· Writing conditions. ď‚· Comparative, boolean and range operators. ď‚· Conditionals - if, unless, case, etc. Loops - while, for in, until, etc. break, next,retry and redo. defined? and ternary operators. Rails structures - ď‚· WEBrick servers, ď‚· URLs and embedded code. ď‚· Directory structure. ď‚· Database connections.
  • 3. AREA OF APPLICATION Ruby on rail has been used for ten thousands of application around the world. This is a short over view of most prolific. Basecamp: The original Rails Shopify: E-commerce made Twitter: Stay connected. app. easy. Livingsocial: Online local Yellow Pages: Find it locally. Github: Git repo hosting. commerce. Sortfolio: Find a web designer. Hulu: Stream TV & Movies. Groupon: Daily deals. Backpack: Personal Geni: Find your ancestors. Ravelry: Knitting community. organization.
  • 4. 43things: Your goals in life. Justin TV: Live video. Scribd: Books, presentations, more. Streeteasy: Find a place in iLike: Find more music. Chow: Food, drink, fun. NYC. Harvest: Tracking time since Inkling Markets: Trade the A List Apart: 'zine for web devs. '06. future. Revolution Health: Get New York Jets: Play ball! Mingle2: Get a date. healthy.
  • 5. Advantages and Disadvantages Advantages: ď‚· Less code needed (Don't Repeat Yourself) ď‚· No configuration Files required ď‚· Open source project ď‚· Changes visible instantly ď‚· Forgiving code Documentation is not extensive ď‚· Scalability is often a problem interpretation Disadvantages: ď‚· Documentation is not extensive ď‚· Scalability is often a problem ď‚· "Newness" makes potential users wary ď‚· Undocumented behaviors ď‚· Difficulty in finding experienced RoR programmers Oracle History For more than three and a half decades, Oracle has been the leader in database software. And as it has further developed technologies and acquired best-in-class companies over the years, that leadership has expanded to the entire technology stack, from servers and storage, to database and middleware, through applications and into the cloud. It all began when Larry Ellison saw an opportunity other companies missed: a description of a working prototype for a relational database. No company had committed to commercializing the technology, but Ellison and co-founders Bob Miner and Ed Oates realized the tremendous business potential of the relational database model. None of them realized at the time that the company they formed would change the face of business computing. Throughout its history Oracle has proved it can build for the future on the foundation of its innovations and its knowledge of customer challenges and successes analyzed by the best technical and business minds in the world. Physical and logical structures An Oracle database system—identified by an alphanumeric system identifier or SID—comprises at least one instance of the application, along with data storage. An instance—identified persistently by an instantiation number (or activation id: SYS.V_$DATABASE.ACTIVATION#)—comprises a set of operating-system processes and memory-structures that interact with the storage. (Typical processes
  • 6. include PMON (the process monitor) and SMON (the system monitor).) Oracle documentation can refer to an active database instance as a "shared memory realm". Users of Oracle databases refer to the server-side memory-structure as the SGA (System Global Area). The SGA typically holds cache information such as data-buffers, SQL commands, and user information. In addition to storage, the database consists of online redo logs (or logs), which hold transactional history. Processes can in turn archive the online redo logs into archive logs (offline redo logs), which provide the basis (if necessary) for data recovery and for the physical-standby forms of data replication using Oracle Data Guard. If the Oracle database administrator has implemented Oracle RAC (Real Application Clusters), then multiple instances, usually on different servers, attach to a central storage array. This scenario offers advantages such as better performance, scalability and redundancy. However, support becomes more complex, and many sites do not use RAC. In version 10g, grid computing introduced shared resources where an instance can use (for example) CPU resources from another node (computer) in the grid. The Oracle DBMS can store and execute stored procedures and functions within itself. PL/SQL (Oracle Corporation's proprietary procedural extension to SQL), or the object-oriented language Java can invoke such code objects and/or provide the programming structures for writing them. The basic memory structures associated with an Oracle instance include the following: ď‚· System Global Area (SGA): Shared by all server and background processes ď‚· Program Global Area (PGA): Private to each server and background process. There is one PGA for each process. The SGA is a memory area that contains data and control information for the instance. The SGA includes the following data structures: ď‚· Database buffer cache: Caches blocks of data retrieved from the database ď‚· Redo log buffer: Caches redo information (used for instance recovery) until it can be written to the physical redo log files stored on the disk ď‚· Shared pool: Caches various constructs that can be shared among users ď‚· Large pool: Is an optional area that provides large memory allocations for certain large processes, such as Oracle backup and recovery operations, and I/O server processes ď‚· Java pool: Is used for all session-specific Java code and data within the Java Virtual Machine (JVM) ď‚· Streams pool: Is used by Oracle Streams When you start the instance by using Enterprise Manager or SQL*Plus, the amount of memory allocated for the SGA is displayed.
  • 7. A Program Global Area (PGA) is a memory region that contains data and control information for each server process. An Oracle server process services a client’s requests. Each server process has its own private PGA that is created when the server process is started. Access to the PGA is exclusive to that server process, and the PGA is read and written only by the Oracle code acting on its behalf. With the dynamic SGA infrastructure, the size of the database buffer cache, the shared pool, the large pool, the Java pool, and the Streams pool changes without shutting down the instance. The Oracle database uses initialization parameters to create and configure memory structures. For example, the SGA_TARGET parameter specifies the total size of the SGA. If you set SGA_TARGET to 0, Automatic Shared Memory Management is disabled. When you invoke an application program or an Oracle tool, such as Enterprise Manager, the Oracle server creates a server process to execute the commands issued by the application. The Oracle server also creates a set of background processes for an instance that interact with each other and with the operating system to manage the memory structures, asynchronously perform I/O to write data to disk, and perform other required tasks. Which background processes are present depends on the features that are being used in the database.
  • 8. An Oracle database server consists of an Oracle database and an Oracle instance. An Oracle instance is made up of memory structures, known as the System Global Area (SGA), and background processes that handle much of the behind-the-scenes work involved in running an instance. The most common background processes are the following: ď‚· System Monitor (SMON): Performs crash recovery when the instance is started following a failure ď‚· Process Monitor (PMON): Performs process cleanup when a user process fails ď‚· Database Writer (DBWn): Writes modified blocks from the database buffer cache to the data files on the disk ď‚· Checkpoint (CKPT): Updates all the data files and control files of the database to indicate the most recent checkpoint ď‚· LogWriter (LGWR): Writes redo log entries to the disk ď‚· Archiver (ARCn): Copies redo log files to the archival storage when a log switch occurs Oracle Applications Oracle Applications comprise the applications software or business software of Oracle Corporation. The term refers to the non-database and non-middleware parts of Oracle's software portfolio. Oracle sells many functional modules which use the Oracle RDBMS as a back-end, notably Oracle Financials, Oracle HRMS, Oracle Projects,[1] Oracle CRM, Oracle Procurement, etc. Oracle initially launched its application suite with financials software in the late 1980s. The offering as of 2009 extends to supply-chain management, human-resource management, warehouse-management, customer-relationship management, call-center services, product-lifecycle management, and many other areas. Both in-house expansion and the acquisition of other companies have vastly expanded Oracle's application software business. Oracle released Oracle E-Business Suite (EBS/ e-BS) Release 12 (R12) — a bundling of several Oracle Applications applications — in February 2007. The release date coincided with new releases of other Oracle-owned products: JD Edwards EnterpriseOne, Siebel Systems and PeopleSoft. As of 2012 Oracle
  • 9. supports Release 11.5.10.2, Release 12.0.X, and Release 12.1.X of the Oracle E-Business Suite. The latest release of the software is called Oracle EBS R12. Advantages: ď‚· It supports very large size databases ď‚· Security ď‚· Consistency ď‚· High level availability ď‚· Lower downtime ď‚· Good performance ď‚· Oracle runs faster Disadvantages: ď‚· Expensive ď‚· Complex to maintain ď‚· are few advantages and disadvantage of oracle.