Profile

Cover photo
Mike Morearty
Works at Asana
Attended University of California, Berkeley
Lives in Burlingame, CA
55 followers|84,986 views
AboutPostsPhotosYouTube

Stream

Mike Morearty

Shared publicly  - 
 
Excellent compare & contrast of subtle but important differences between Erlang processes and ZeroMQ message queues.
1
Add a comment...

Mike Morearty

Shared publicly  - 
1
Add a comment...
Have him in circles
55 people
Pete Roddy's profile photo
Amy Watson's profile photo
David Cortesi's profile photo
George Comninos's profile photo
Dave Peck's profile photo
Rob Brambley's profile photo
Vic Mitnick's profile photo
Nirmala bandrapalli's profile photo
Alok Sinha's profile photo

Mike Morearty

Shared publicly  - 
 
Wow.  Finally taking a look at Parse.  It looks AMAZING.

Makes back-end stuff just ridiculously easy.

* In the browser, make a new project

* Add a new "class", which you should basically think of as being like a  "table" in a SQL database

* Add columns if desired (but actually the data is all free-form)

* I downloaded their standard template for a JavaScript app; then I plugged in an app id and a javascript id (both of which were easy to find on the website)

* Run it.  With some very simple JS (using JSON for the actual data), it created an object on the server.  Voilà.  Using the web browser's data browser, I can see the row that was added.

* How about controlling login?  Super, super easy.  I created a class (again, basically a table) with the special type "User".  Then in the web browser's data browser, I manually added a user, with username "mike" and password "pass".  Then I copied that user's objectId to the clipboard...

Then, still in the web browser, I went over to the TestObject class (this is the class of object that was inserted by the sample script).  I changed that class's permissions for the "create" action to only be allowed by users I specify; then I pasted in the objectId of the "mike" user.

If I run the JS app now, it fails to create an object, as it should.  But by adding just another couple of lines of JS to log in as "mike", it was then able to create the object again.

In the long run, all this stuff is pretty routine; what is really awesome is that Parse makes it so damned easy.
2
Tom Campbell's profile photoEric Herrmann's profile photoMike Morearty's profile photoJames Moore's profile photo
6 comments
 
Can't say anything about the StackMob product, but the StackMob people definitely produce lots of useful Scala videos :-).
Add a comment...
People
Have him in circles
55 people
Pete Roddy's profile photo
Amy Watson's profile photo
David Cortesi's profile photo
George Comninos's profile photo
Dave Peck's profile photo
Rob Brambley's profile photo
Vic Mitnick's profile photo
Nirmala bandrapalli's profile photo
Alok Sinha's profile photo
Education
  • University of California, Berkeley
    Computer Science, 1984 - 1988
Basic Information
Gender
Male
Work
Employment
  • Asana
    Engineer, 2015 - present
  • Box
    Staff Software Engineer, 2013 - 2015
  • Microsoft
    Software Design Engineer, 1988 - 1998
  • Adobe Systems
    Sr. Computer Scientist, 2002 - 2010
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Burlingame, CA