Rhomobile Beginner's Guide - Abhishek Nalwaya - E-Book

Rhomobile Beginner's Guide E-Book

Abhishek Nalwaya

0,0
34,79 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

The four Rhomobile products – Rhodes, Rhosync, RhoHub, and Rhogallery – provide a complete toolkit for creating a mobile application. Rhomobile is cross-platform and so allows you to build your application for many different types of smartphone – including iPhone and Blackberry – just with a single codebase. This makes it the most preferred and quickest way of developing mobile apps. As you create a native Rhomobile application, you can use the built-in device features such as GPS, Push, and Camera, all with offline capabilities.Rhomobile Beginner's Guide is filled with practical examples to help you to create a mobile application from scratch. You can choose on which operating system to build, as well as for which smartphone to develop your application, giving you the freedom to create a customized mobile application quickly and easily.Once you have learned how to install Rhomobile on Windows, Mac, or Linux, you will create a simple application, which will be used to explore the products of Rhomobile one by one. Things really get going when you write unit test cases for your application before deploying it to the server and making builds for your chosen Smartphone.

You will learn about the different aspects of Rhomobile, starting with Rhodes 3, which helps you to build a native mobile application. Rhosync 2.1 carries out the offline device capabilities and RhoHub deploys the code on the server and creates a build for the different smartphones.

Rhomobile Beginner's Guide gives you the freedom to create a mobile web application on the platform of your choice, for the smartphone of your choice.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 227

Veröffentlichungsjahr: 2011

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Rhomobile Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. What is Rhomobile?
The Rhomobile family
Rhodes
RhoSync
RhoHub
RhoGallery
Why Rhomobile is cutting edge
Which products does Rhomobile support?
Rhomobile architecture
Rhodes application
Rhosync application
Backend application
FAQ
Summary
2. Installation and Configuration—How to Start off
Rhomobile installations
Installing Rhomobile
Time for action – Installing on Windows
Time for action – Installing on Linux
Time for action – Installing on a Mac
What just happened?
Device SDK installation
Blackberry SDK installation
Which Operating Systems are supported?
Where to get it from:
Time for action – Installing Blackberry SDK
Android SDK installation
Which Operating Systems are supported?
Where to get it from:
Time for action – Installing Android SDK
iPhone SDK installation
Which Operating Systems are supported?
Where to get it from:
Time for action – Installing iPhone SDK
Time for action – Configuration
What just happened?
Time for action – Installing Development Environments—IDE
What just happened?
Summary
3. Instant Gratification—Create Your First Application
Let's get started…
Time for action – Creating an employee application
What just happened?
Have a go hero – Exploring the Rhogen command
Building your first Rhodes application
Time for action – Build it for different smart phones
What just happened?
Navigating the Directory Structure
Time for action – Creating the model
What just happened?
Linking views to the homepage
Time for action – Linking the employee view to the homepage
Have a go hero – Exploring url_for
Digging the MVC in our application
Model
Controller
Views
Rhodes configuration file—Rhoconfig.txt
Building a Configuration file—build.yml
Changing the input style
Time for action – Editing view
What just happened?
Creation of a new page
Time for action – Creation of the new page
Summary
4. Rhom—Playing with the Local Database
What is ORM?
Exploring Rhom
Time for action – Creating a company model
What just happened?
Association
Time for action – Creating an association between employee and company
What just happened?
Exploring methods available for Rhom
Time for action – Filtering record by company and gender
What just happened?
Have a go hero – find (*args) Advanced proposal
How Rhodes stores data
Property Bag
Fixed Schema model
Summary
5. RhoSync—Synchronizing Your Data
Generating a RhoSync application
Time for action – Creating a RhoSync application
What just happened?
Have a go hero – Disable the web interface
RhoSync source adapters
Time for action – Creating source adapter
What just happened?
Configure the Rhodes application to connect to RhoSync
Time for action – Connecting the Rhodes application to RhoSync
What just happened?
Placing data in the Rhodes application from RhoSync
Time for action – Filling data from RhoSync
What just happened?
Connecting to Backend services
What just happened?
CRUD operation using RhoSync
Create
Update
Delete
What just happened?
Filtering datasets with search
Time for action – Filtering data with search
Authentication
What just happened?
RhoSync REST API
Summary
6. Metadata and Push—Creating Agile Views
Getting ready for Metadata
Time for action – Installing the Rhodes translator gem
What just happened?
Creating the first view using metadata
Time for action – Creating an index page
What just happened?
Have a go hero
Getting all the views for company from Metadata
Understanding the code
Digging the code for the new page
Digging the code for the show page
Digging the code for the edit page
Metadata validation
Custom templates
Push data to your phone
Set up the Rhodes application for Push
Push for iOS
Push for Android
Push for Blackberry
Setting up the MDS simulator
Testing Push in the Web Console
Summary
7. Native User Interface—Cosmetics for Your Smart Phones
Device-specific style
Time for action – Adding device-specific style
What Just happened
Customizing layouts
Dynamic loading of custom view files based on the current platform
Standard smart phone CSS/HTML architecture
pageTitle (<div id="pageTitle">)
toolbar (<div id="toolbar">)
Toolbar button styles
Content (<div id="content">)
Application menu
Time for action – Default menu
What just happened?
Controller action menu
Time for action – Creating an action menu
What just happened?
Native tab bar
Time for action – Creating tabs
What just happened?
BlackBerry CSS/HTML architecture
Loading screen
Time for action – Setting the loading Image
What just happened?
Adding transition styles for iPhone/Android
Time for action – Adding transaction animation
What just happened?
Pop Quiz
Summary
8. Unit Testing and Logging—Writing Better Code
Unit testing
Time for action – Getting ready for testing the Rhodes application
What just happened?
Writing your first Rhodes unit test
Time for action – Writing the first test
What just happened?
Testing the RhoSync application
Time for a Action – Running the default test
Pop Quiz – Spec
What just happened?
Creating the first unit test for the RhoSync application
Time for action – Creating a unit test for the source adapter
Query
Create
Update
Delete
What just happened?
Have a go hero – Creating a test for the company model
Logging
Time for action – Configure logs for the Rhodes application
What just happened?
Where to find logs:
iPhone
Android
Blackberry
Pop quiz- Logging
See the device log on the device
RhoError class
Summary
9. RhoHub—Deploying to Cloud
Installation and configuration
Time for action – Installation and configuration
What just happened?
Understanding basic Git
Creating a RhoHub project
Time for action – Creating a RhoHub project
What Just Happened?
Pop Quiz
Cloning and committing your Rhodes application
Time for action – Pushing Rhodes application
What Just Happened?
Have a go hero – Commit the code
Deploying the RhoSync application
Time for action – Pushing the RhoSync application
What just happened?
RhoHub online editor
Creating builds for different phones from RhoHub
Time for action – Three steps to build the Rhodes code
What Just Happened?
Deploying the RhoSync application to RhoHub
Time for action – Three steps to deploy RhoSync
What Just Happened?
RhoGallery
Time for action – Creating a gallery
What just happened?
Summary
10. Rhodes power unleashed
System class
Time for action – Using the System class
What just happened?
Doing more things with System class
Exit application
Enable\disable phone sleep
Managing other applications
Time for action – Starting other applications
What just happened?
PIM contacts
Time for action – CRUD operations on contacts
What just happened?
Have a go hero – CRUD operations for Calendar/Events
Camera
Taking a picture
Choosing a picture from an album
Time for action – Capturing images
What just happened ?
Geolocation
GeoLocation Ruby class
Time for action – Adding Geolocation
What just happened?
Alerts
Time for action – Creating alerts
What Just happend?
Other device capabilities
Barcode
Ringtone manager
Bluetooth
BluetoothManager
BluetoothSession
Timer
Summary
Index

Rhomobile Beginner's Guide

Rhomobile Beginner's Guide

Copyright © 2011 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: July 2011

Production Reference: 1180711

Published by Packt Publishing Ltd.

32 Lincoln Road

Olton

Birmingham, B27 6PA, UK.

ISBN 978-1-849515-16-0

www.packtpub.com

Cover Image by Parag Kadam (<[email protected]>)

Credits

Author

Abhishek Nalwaya

Reviewers

Deepak Vohra

Brian Moore

Acquisition Editor

Sarah Cullington

Development Editor

Neha Mallik

Technical Editors

Ajay Shanker

Mohd. Sahil

Project Coordinator

Shubhanjan Chatterjee

Proofreader

Linda Morris

Indexer

Monica Ajmera Mehta

Graphics

Geetanjali Sawant

Production Coordinator

Melwyn D'sa

Cover Work

Melwyn D'sa

About the Author

Abhishek Nalwaya is a Ruby, Rhomobile, and Rails enthusiast. He is a regular participant at Ruby/Rails meetups and has taken technical sessions on Rhodes framework within the company and at Ruby meetups. His blog is listed on the official third-party tutorial section at the Rhomobile site.

He was associated with Tata Consultancy Services and is presently working as an application developer with Column Software Technology. He has worked on many projects providing solutions to Fortune 500 companies using Ruby, Rhodes, and Ruby on Rails.

I would like to express my gratitude to my family and friends especially Akshat Paul, Manu Singhal, and Anuj Bhargava who saw me through this book, who provided support, talked things over, read, wrote, offered comments, without which conceiving this book wouldn't have been possible.

Also, I would like to thank Sarah, Kartikey, Shubhanjan, and the PacktPub team who allowed me to quote their remarks and assisted in the editing, proofreading, and design. Writing a book was not my cup of tea but they made this complicated journey effortless.

About the Reviewers

Deepak Vora is a consultant and a principal member of the NuBean.com Software Company. Deepak is a Sun Certified Java Programmer and Web Component Developer, and has worked in the fields of XML and Java programming and J2EE for over five years. Deepak is the co-author of the Apress book Pro XML Development with Java Technology and was the technical reviewer for the O'Reilly book WebLogic: The Definitive Guide. Deepak was also the technical reviewer for the Course Technology PTR book Ruby Programming for the Absolute Beginner, and the technical editor for the Manning Publications book Prototype and Scriptaculous in Action. Deepak is also the author of the Packt Publishing book JDBC 4.0 and Oracle JDeveloper for J2EE Development, Processing XML documents with Oracle JDeveloper 11g, and EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g.

Brian Moore is a Senior Engineer at Rhomobile, father of two, and quintessential hacker. Brian began coding at the age of 12. His early love for everything technological led to a job with Apple shortly after high school. Since that time Brian has worked at a series of start-ups and tech companies taking on interesting technical challenges. Brian has become the technical face of Rhomobile as he leads the Rhodes community in the latest Rhomobile innovation during the Friday webinars. When not guiding the next generation of Rhodes developers or hacking on a new debugger, Brian can be found climbing a hill in a remote Southern California desert in his baja bug.

www.PacktPub.com

Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books. 

Why Subscribe?

Fully searchable across every book published by PacktCopy & paste, print and bookmark contentOn demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Preface

The Rhomobile Beginner's guide will speak to every developer's mind, and especially to the technocrats looking for a reliable cross-platform framework encouraging them to explore and try out these wonderful products by Rhomobile. This book guides you step by step to build an enterprise mobile application from scratch, through to deployment.

What this book covers

Chapter 1, What is Rhomobile?: In this chapter, we will briefly discuss the various products of Rhomobile and their architecture.

Chapter 2, Installation and Configuration—How to Set Off: In this chapter, we will learn to install the necessary softwares that are required before developing our mobile application using Rhomobile.

Chapter 3, Instant Gratification—Create Your First Application: In this chapter, we will create our first application and understand how Rhodes structures the application.

Chapter 4, Rhom—Playing with the Local Database: In this chapter, we'll explore Rhom, which is an Object-Relational Mapping (ORM) provided by Rhodes and take a look at how it manipulates data in our application. We'll find how ORM manages table relationships in this chapter and also dig into the ORM object life cycle.

Chapter 5, RhoSync—Synchronizing your data: In this chapter, we will learn about the synchronization framework RhoSync that keeps application data current and available on user's smart phones. We will create a sample RhoSync application and connect with a Rails application to put the current data on the device.

Chapter 6, Metadata and Push—Creating Agile Views: In this chapter, we will learn about a powerful feature of RhoSync called metadata and also configuring Push messages to the client. We will enhance the application created in the earlier chapter with metadata and Push.

Chapter 7, Native User Interface—Cosmetics for Your Smart Phones: In this chapter, we will learn about Native User Interface for different phones. We will perform device-specific operations to give a more native look to our application.

Chapter 8, Unit Testing and Logging—Writing Better Code: In this chapter, we will learn about testing and logging. We will write unit tests for both Rhodes and RhoSync applications. We will also learn to check logs in different devices.

Chapter 9, RhoHub—Deploying to Cloud: In this chapter, we will host our RhoSync application to RhoHub using Git and learn to create build for our Rhodes application.

Chapter 10, Rhodes Power Unleashed: In this chapter, we will learn about the Rhodes competence to access device-specific capabilities such as GPS, PIM, camera, System attributes, and many more functionalities.

Who this book is for

This book is for developers who are looking to build mobile applications. They may include the ones who are looking for a deep understanding of Rhomobile or they may be completely new to these products.

Familiarity with HTML, CSS, and Ruby will give you an extra edge but you do not need to be an expert on these topics.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "The update_attributes call then takes the rest of the parameters from the request and applies them to this record."

A block of code is set as follows:

<div class="toolbar"> <% if SyncEngine::logged_in > 0 %> <div class="leftItem blueButton"> <a href="<%= url_for :controller => :Settings, :action => :

When we wish to draw your attention to a particular part of a code block, the relevant lines or items will be shown in bold:

<div class="rightItem regularButton"><a class="flip" href="<%= url_for :controller => :Settings, :action => :logout %>">Logout</a></div

Any command-line input or output is written as follows:

sudo apt-get install ruby1.9.1-full

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "run the executable file and click Next".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to <[email protected]>, and mention the book title via the subject of your message.

If there is a book that you need and would like to see us publish, please send us a note in the SUGGEST A TITLE form on www.packtpub.com or e-mail <[email protected]>.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/support, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at <[email protected]> with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at <[email protected]> if you are having a problem with any aspect of the book, and we will do our best to address it.

Chapter 1. What is Rhomobile?

Welcome to the Rhomobile Beginner's Guide. The goal of this book is to teach you how to create your own Mobile application from scratch using Rhomobile. We will learn how to develop a mobile application with Rhomobile by building a sample application from scratch. We will try to have something tangible with running code by the end of every chapter so that you can see a clear progression from chapter to chapter.

Though Rhomobile products are large and part of a fast-moving framework, we'll focus on the smaller, more stable, set of core Rhomobile techniques that have crystallized in the last couple of years. This means that the knowledge you gain here will not become obsolete too quickly. This book is written keeping the Zero to Deployment approach in mind.

The Rhomobile family

Mobile devices are very powerful today and are getting more dominant with time. The success behind the phenomenal growth of smart phones is the mobile application loaded in them, which increases their functionality exponentially. Mobile applications can be developed by using different frameworks and programming languages based on the type of mobile device. Different mobile devices use different hardware components, therefore, mobile software and mobile applications have to be developed using different software architectures. It is a very painful process if we have to develop applications for all of the smart phones in the market. So Rhomobile came up with the idea of developing an application with one code base and building it for all smart phones. Before learning about the Rhomobile architecture we should have an understanding of Rhomobile and its products.

Rhomobile Inc. is a computer software company that provides leading products for building the new generation of mobile applications. It offers an open-source Ruby-based mobile development framework for business mobility solutions through its four major products Rhodes, RhoSync, Rhohub, and RhoGallery.

Rhomobile has revolutionized the process of developing mobile applications. It has enabled developers to become much faster and more efficient, allowing quicker application development. It enables software programmers to build applications for mobile devices using HTML and Ruby instead of proprietary languages such as Objective-C. Currently, the Rhodes framework supports development for the iPhone, Windows Mobile, Google Android, Symbian, and BlackBerry operating systems.

Now we will learn more about the four major products of Rhomobile.

Rhodes

Rhodes is an open source framework by Rhomobile. It develops native applications for almost all smart phones. The applications built through Rhodes are pure native applications and use device capabilities such as GPS, PIM contacts and calendar, camera, native mapping, push, barcode, signature capture, and Bluetooth.

Rhodes accelerates the development of mobile applications without compromising on its portability. This framework is similar to the popular Rails framework. It is based on Model view Controller and has inbuilt Object Relational Manager (ORM) called Rhom that is similar to active Record in Rails. Most user interface customization can be done in HTML templates (ERB, eruby files). A single set of source written with Rhodes can be compiled to run across all of the supported smart phones. This means that we will have the same code base for all your devices.

RhoSync

RhoSync is a standalone mobile sync server that keeps enterprise application data up to date and available on users' smart phones. Enterprise apps require local synchronized data to be used most of the time. The information is stored locally on a users' device and is available to them even in offline mode. It is very easy to write a source adapter as RhoSync generates most of the code while creating the source adapter. The source adapter can also be used to Create, Read, Update, and Delete (CRUD) operations on a model.

Rhosync uses Redis, which is a NoSql Key Value store for data caching. This makes Rhosync more scalable. RhoSync performs its push-based sync using the native smartphone push SDKs. It uses new advanced BlackBerry Enterprise Server and iPhone 3.0 SDKs for Push. It uses BES Push and iPhone Push for synchronization, allowing real-time updates of backend application information. We will explore RhoSync and its features in detail in Chapter 5.

RhoHub

RhoHub is a hosted development environment for Rhodes and Rhosync. The RhoSync application will be deployed on the famous Ruby cloud Heroku with the interface of RhoHub. RhoHub enables git-powered source control and collaboration with your team. It allows us to directly build an application for different smart phones without installing SDKs.

It makes the process of the build very smooth since we don't have to install any development toolkits. It is only a one click process that automatically creates a build for most of the smart phones. We will discuss this in detail in Chapter 9.

Rhohub provides us with the following functionalities:

Creating a build for a Rhodes applicationDeploying the Rhosync application to the cloudProviding version control with gitManaging collaborators

RhoGallery

RhoGallery provides a hosted mobile app management solution. It allows administrators to manage the set of apps exposed to their users. It also makes it easy for them to get mobile apps onto their devices. It enables users to launch all of their important enterprise apps from a single place. RhoGallery consists of a management console for "app galleries" on RhoHub, as well as a RhoGallery App that users load onto their devices. Even for an individual developer with one or a few apps, RhoGallery makes it easy to expose those apps to their users. RhoGallery handles inviting the users and determining the appropriate downloads to provide to them.

RhoGallery provides the following functionalities:

Administrator management of exposed apps to end usersCentral user launching of exposed appsAutomatic provisioning of appropriate apps for end users

Why Rhomobile is cutting edge

The following features give a cutting edge to Rhomobile in mobile application development:

Model View Controller: Most of the other frameworks available in the market are based on HTML and JavaScript. However, as Rhodes is a Ruby-based framework and its structure is similar to the popular framework Rails, it also supports Model View Controller, so code written with Rhodes is more structured and easy to understand.Cross Platform Support for All Devices: Rhodes supports the following devices: Android, Windows Mobile, BlackBerry, and iphone. The best thing is you have a single code base from which you can build applications for different smart phones. It does not work in a traditional way in that we have to write separate code for different types of phones.Offline Capabilities using Rhosync: Rhomobile supports local synchronization of data. As we can synchronize the data using Rhosync it provides offline Capabilities. It can work even if you are offline.Object Relational Manager: Rhodes provides an inbuilt Object Relational Manager called Rhom. It is similar to Active Record in Rails but with basic functionality only. It helps us to write queries without thinking about which database is being used by phone.Rapid Development: One of the most interesting features of Rhodes is that it imposes some fairly serious constraints on how you structure the applications that help us for rapid development. Rhomobile products are properly structured and well organized, which enforce us to do rapid development. Rhodes is very comfortable, familiar, and massively productive.Scalable Sync Server: The Sync Server uses a NoSql Database which makes it scalable. Specifically, it is the only sync server that has a built-in "no SQL" Redis key value store, making it more scalable than other sync servers which offer internal relational database servers for caching. RhoSync also performs its push-based sync using the native smart phone push SDKs, which no other sync server does.Liberal use of code generation: Rhodes/RhoSync can write a lot of code for you. For example, when you need a class to represent a table in your database, you don't have to write most of the methods. Rhodes even offers an application generator that creates an initial app based on the structure of your models or business objects in your app. It's very similar to the scaffolding offered by most modern web frameworks with basic list/create/read/update/delete objects functionality. For each basic CRUD action, views in HTML are also offered. You'll find that you're writing only a fraction of code compared to other frameworks.