Joyent Smart Platform

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Joyent Smart Platform - Presentation Transcript

    1. Joyent Smart Platform Dietrich Ayala 9/23/09
    2. Overview
        • http://www.joyent.com/
        • Hosted JS application server
        • Local development
        • Deployment via Git
        • Open source on GitHub
        • Free while in beta
        • 50m operations for $1
        • 10k pageviews for $10-15/mo
    3. Features
        • Javascript 1.8
        • CouchDB-ish Datastore
        • Libraries: system.use("foo.bar");
        • Sammy: Sinatra-like framework
        • HTTP requests
        • Templates: basic, Trimpath
        • Async workers
        • Digest, UUID, filesystem access
    4. Sammy
        • Routing-oriented, like Sinatra
        • HTTP method + matcher + function
        • Static or wildcard matchers
        • Static files
        • Sessions
        • Redirects
        • Custom headers
    5. Datastore
        • JSON store
        • Complex structures
        • Non-relational
        • "id"
        • "isTransient"
        • Querying
          • operators
          • options: sort, reverse, limit, offset
    6. Mediastore
        • For binary objects
        • Basic CRUD
        • User-defined types
        • Stored outside of datastore
        • Accessed via API not GIT
    7. Image Manipulation
        • flip horizontal/vertical
        • scale
        • rotate
        • crop
    8. Local Development
        • Windows: none yet
        • Mac: download Smart.app
        • Local web server at port 8080
        • Configuration
          • /yourdir/127.0.0.1/
          • /yourdir/127.0.0.1/js/bootstrap.js
          • /yourdir/127.0.0.1/web/public
        • Point Smart.app at /yourdir
        • Done! http://localhost:8080/
    9. Deployment
        • in project dir (contains js, web dirs):
        • git init
        • git remote add origin git@git.smart.joyent.com:myproj...
        • git add *
        • git commit -m "initial commit!"
        • git push origin master:refs/heads/master
    10. References
      • Git deployment HOWTO (and forum)
      • http://discuss.joyent.com/viewtopic.php?id=25585
      • API Documentation
      • http://smart.joyent.com/docs/index.html
      • FAQhttp://smart.joyent.com/faq
    SlideShare Zeitgeist 2009

    + Dietrich AyalaDietrich Ayala Nominate

    custom

    101 views, 0 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 101
      • 101 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?