develop your cms in your cms
DESCRIPTION
In this session you’ll see how we embedded the cutting edge Ace code editor into Perforce Chronicle. Ace (formerly Skywriter, Bespin) is a powerful JavaScript-based editor that matches the performance and functionality of native applications such as TextMate and Vim. Using Ace, we’ll show how you can tweak existing themes and modules — or write completely new ones — from anywhere. You can deploy to the cloud and start hacking without having to configure or install anything locally. But wait, there’s more! If you attend now, we’ll also demonstrate how we used this system to integrate with Pinterest. If you haven’t heard, Pinterest is the hot new site that lets you create ‘pinboards’ to organize and share the things you love.TRANSCRIPT
Develop Your CMS In Your CMS
Stewart LordTechnical Architect
Geoff NicolTechnical Architect
Overview
• Why?
• Technologies
• Embedding Ace
• Staging a Theme
• Developing a (Pinterest) Module
What’s the Point?
• Cool technology
• Cloud friendly
• No install required
• Great for themes, light development
What Is Chronicle?
Chronicle is a new CMS with branching. Uses the Perforce Engine, built on the Zend Framework and the Dojo Toolkit.
Ace
Ace is a powerful JavaScript-based editor with great performance, syntax-highlighting, code-folding, etc.
Pinterest is a popular photo sharing site where users 'pin' images they like.
How Does Ace Work?
• Written in JavaScript
• Started as two independent projects.
• Bespin/Skywriter used canvas. Ace uses the DOM.
• Merged in 2010 (after JSConf.eu 2010, in Berlin)
• Fast and feature rich!
How Did We Embed It?
Ace just provides a text area...
How Did We Embed It?
...Dojo and Chronicle provide everything else.
How Did We Embed It?
Backend is a simple REST-ish web service.
/ide/files/ide/paths/ide/copy/ide/move
Live Demo
IDE Overview
Stage a Theme
Create Pinterest Module