Profile

Cover photo
Mike Morearty
Worked at Box
Attended University of California, Berkeley
Lives in Burlingame, CA
53 followers|45,820 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
53 people
Kelly Comstock's profile photo
John Rae-Grant's profile photo
Mike Schiff's profile photo
Brian Morearty's profile photo
Jeremy Wolf's profile photo
Rob Brambley's profile photo
leo De Groot's profile photo
Steve Lamont's profile photo
Scott Evans'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
53 people
Kelly Comstock's profile photo
John Rae-Grant's profile photo
Mike Schiff's profile photo
Brian Morearty's profile photo
Jeremy Wolf's profile photo
Rob Brambley's profile photo
leo De Groot's profile photo
Steve Lamont's profile photo
Scott Evans's profile photo
Education
  • University of California, Berkeley
    Computer Science, 1984 - 1988
Basic Information
Gender
Male
Work
Employment
  • 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