developer
Open Source
APIs
Advertising
Blogs
Events
Podcasts
Apps
Input to search
Mojito
Mojito
Sign In
English (U.S.)
中文(香港)
中文(台灣)
YDN Apps
Flurry Apps
Search SDK Apps
developer
Open Source
APIs
Advertising
Blog
Events
Podcasts
Apps
Mojito
Documentation
Introducing Mojito
Overview
Mojito: A Quick Tour
Mojito Architecture
Mojito Applications
Creating and Using the Mojito Application Bootstrap File: app.js
Mojits
MVC in Mojito
Mojito Conventions
Routing
Configuring Mojito
Mojito Binders
Static Resources
Getting Started with Mojito
Mojito Quickstart
Tutorial: Creating Your First Application
Mojito Dashboard Tutorial
Introduction
1. Mojito CLI Basics
2. Mojits: Powering Your App
3. Frame Mojits
4. Composite Mojits
5. Getting Data
6. Testing in Mojito
7. Mojito on the Client
8. Advanced Configuration: Contexts, Routing, and YUI
9. Handlebars, Templates, and Custom Views
10. Localizing Your Application
Code Examples
Overview of Code Examples
Configuration
Views
Assets
Data Access
Binding Events
Inter-Mojit Communication
Other
Developer Topics
Assets
Data in Mojito
Logging
Testing
Handlebars in Mojito
Composite Mojits
Running Dynamically Defined Mojit Instances
Frame Mojits
Extending Mojito
Using Context Configurations
Configuring YUI in Mojito
Mojito and npm Packaging
Resource Store
Startup Requirements for Mojito in Hosting Environments
Mojito API Overview
Action Context
Action Context Addons
REST Library
Client Object
Mojito: FAQ
Mojito Reference
Mojito Command Line
Troubleshooting
Glossary
Additional Resources
Sign In
Language:
English (U.S.)
中文(香港)
中文(台灣)
Code Examples
¶
Overview of Code Examples
Prerequisites
Format of Code Examples
Configuration
Basic Configuring of Applications
Summary
Implementation Notes
Setting Up this Example
Source Code
Configuring Routing
Summary
Implementation Notes
Setting Up this Example
Source Code
Generating URLs
Summary
Implementation Notes
Setting Up this Example
Source Code
Simple Logging
Summary
Implementation Notes
Setting Up this Example
Source Code
Views
Creating a Simple View with Handlebars
Summary
Implementation Notes
Setting Up This Example
Source Code
Creating Views for Different Devices
Summary
Implementation Notes
Setting Up this Example
Source Code
Using the HTML Frame Mojit
Summary
Implementation Notes
Setting Up this Example
Source Code
Including YUI Modules in Views
Summary
Implementation Notes
Setting Up this Example
Source Code
Creating and Using a View Engine Addon
Summary
Implementation Notes
Setting Up this Example
Source Code
Assets
Adding CSS
Summary
Implementation Notes
Setting Up this Example
Source Code
Attaching Assets with HTMLFrameMojit
Summary
Implementation Notes
Setting Up this Example
Source Code
Dynamically Adding CSS to Different Devices
Summary
Implementation Notes
Setting Up this Example
Source Code
Using Global Assets
Summary
Implementation Notes
Setting Up this Example
Source Code
Including YUI Modules
Summary
Implementation Notes
Setting Up this Example
Source Code
Data Access
Calling YQL from a Mojit
Summary
Implementation Notes
Setting Up this Example
Source Code
Using Cookies
Summary
Implementation Notes
Setting Up this Example
Source Code
Using Query Parameters
Summary
Implementation Notes
Setting Up this Example
Source Code
Binding Events
Summary
Requirements
Implementation Notes
Configuring the Application to Run on the Client
Getting Data with YQL in the Model
Binding Events
Using Paging
Setting Up this Example
Source Code
Inter-Mojit Communication
Summary
Implementation Notes
Application Configuration
Routing Configuration
Master Mojit
Sender Mojit
Receiver Mojit
Setting Up this Example
Source Code
Other
Internationalizing Your Application
Summary
Implementation Notes
Setting Up this Example
Source Code
Using Multiple Mojits
Summary
Implementation Notes
Setting Up this Example
Source Code