Joyent Smart Platform
Upcoming SlideShare
Loading in...5
×
 

Joyent Smart Platform

on

  • 1,484 views

 

Statistics

Views

Total Views
1,484
Views on SlideShare
1,478
Embed Views
6

Actions

Likes
0
Downloads
6
Comments
0

1 Embed 6

http://www.slideshare.net 6

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Joyent Smart Platform Joyent Smart Platform Presentation Transcript

    • Joyent Smart Platform Dietrich Ayala 9/23/09
    • 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
    • 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
    • Sammy
        • Routing-oriented, like Sinatra
        • HTTP method + matcher + function
        • Static or wildcard matchers
        • Static files
        • Sessions
        • Redirects
        • Custom headers
    • Datastore
        • JSON store
        • Complex structures
        • Non-relational
        • "id"
        • "isTransient"
        • Querying
          • operators
          • options: sort, reverse, limit, offset
    • Mediastore
        • For binary objects
        • Basic CRUD
        • User-defined types
        • Stored outside of datastore
        • Accessed via API not GIT
    • Image Manipulation
        • flip horizontal/vertical
        • scale
        • rotate
        • crop
    • 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/
    • 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
    • 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