I used Firebase to build thereelbox.com, and enjoyed it thoroughly. It took 2-3 hours from starting into the documentation to completed/nobugs/pushed to production. Credit for that speed goes entirely to Firebase.
TheReelBox uses Firebase as a sort of API caching layer. This protects against rate limiting on the Rotten Tomatoes API, decreases request time by caching queries to the Fandango-via-YQL API, and eliminates an extra request per movie for Youtube trailers. At the beginning, this system made it possible to host TheReelBox on my public dropbox folder, which made for really fast development. Since launch I've moved the static html and js to a micro AWS instance, but Firebase cleanly and transparently handles all the data. Definitely recommend it.
Any reason you don't host those static files on a public 'web enabled' ec2 bucket? We do that for http://www.incubatebang.com and it costs us like $1.40/year for hosting
That's a cool idea, Dropbox and S3 both seem like good ways to get started with Firebase really fast.
The AWS micro is free :) and it gives me a bit more flexibility to do things (in the future) like track outbound clicks to Fandango through a redirect that hits a real server.
Yeah, I'm an owner of http://www.isotope11.com and our designer threw it together in a couple of days. He's awesome, and he's leaving shortly, and we'll miss him :(
Wow !! As a movie buff myself I think I'll be vising you site almost everyday now. This is what I used to do before:
- Go to www.imdb.com
- Click on 'See more movie showtimes' at the right.
- On the next page, click on the 'Favorites' tab to choose a theater.
- Go to maps.google.com and plan the route to the theater.
This is definitely going to save me at least a few hours every week while I check which movie is playing at what location.
Just out of curiosity. Are you aware that all your data is fully editable through the admin panel? Or is it just a toy project and it doesn't really matter?
Still though, somebody could delete all the movies and showtimes in a couple of clicks. I presume you have the JSON backed up but it's still going to get annoying if somebody decides they want to be a dick.
Just a quick thing - for places that aren't so densely populated (like Tucson) it says there's no information. It'd be nice if you would expand your search a bit outside densely populated areas.
Awesome dude. Great idea and execution for 3 hrs of work! Minor suggestions:
- Sort by (name, start time, rating, distance) - include video playback controls, useful info such as time of preview, buffering, etc.. - X out or remove videos from my personal view, this would be KILLER to allow me to narrow down my choices as I watch videos
Here's my big concern: If my entire app is client-based JavaScript, wouldn't that make cloning my app as simple as copying all of the JavaScript and other asset files and then associating them with another firebase account -- perhaps modifying them some so they dont't get banned?
It seems like it lowers the barrier to competition a bit too much for me.
You could say that just about any software development platform. If it makes building software easier, it makes competition easier. And if building apps is easier, it really doesn't matter what stack your app uses - it's going to get easier to "clone", so you may as well use whatever platform gives you the best results.
Other than that, you could either make your business, rather than your technology, more competitive, or make your technology ever more sophisticated than what "commodity" development tools allow.
It's not that client-side applications are easier to reverse-engineer. If the application is all client-side, it can literally just be downloaded and reused by a would-be competitor.
Glad to see interest in the idea. It's not much different from what people have been doing with projects like http://couchapp.org or http://unhosted.org/ for some time.
Once you have a basic HTTP database API, you can do most of an app in client-side JS. Security is the hardest part to get right. In CouchDB we've tried to follow the web security model when it makes sense (single origin policy, oauth, etc). CORS and WebSocket are both changing the web model, so it's not surprising to see the idea of a simple data API catching on as the web gets more power. Can't wait to see where this goes.
I think that is a valid concern, but it doesn't really apply to all apps.
As one example, for a lot of businesses, the value is not so much in the app itself but in the data the app interacts with. In those cases, giving your competitors the source code to your app does mean they could copy anything they want from your app, but that doesn't do them much good if the real value is in the data.
I keep wondering this myself. On my resident JS-only app, the only thing that I can think of that's keeping someone from ripping off my code and duping the site is that nobody cares enough to try.
Or using your paid repository to story their own app data. The authentication credentials are running on the client. I'm wondering how I keep a troll from writing a billion things to my firebase.
When the multi-player asteroids story was published, people were talking about Firebase, and having never heard of it, I started googling and found this:
http://www.cubeia.com/index.php/products/firebase
A scalable real-time game server with a html5/javascript front end. I still don't know which Firebase that game was built with. You guys have trademark issues.
If I understand right: instead of having to worry about calling a REST API for a back-end data store I can just have JS objects persist automatically and synchronize between clients.
Dropbox for JS objects. If I've got that right, I think this is totally awesome for front-end web devs and the most exciting backend-as-a-service out there.
Comments (137) 43 threads
TheReelBox uses Firebase as a sort of API caching layer. This protects against rate limiting on the Rotten Tomatoes API, decreases request time by caching queries to the Fandango-via-YQL API, and eliminates an extra request per movie for Youtube trailers.
At the beginning, this system made it possible to host TheReelBox on my public dropbox folder, which made for really fast development. Since launch I've moved the static html and js to a micro AWS instance, but Firebase cleanly and transparently handles all the data.
Definitely recommend it.
The AWS micro is free :) and it gives me a bit more flexibility to do things (in the future) like track outbound clicks to Fandango through a redirect that hits a real server.
And its got TRAILERS too !!! I'm addicted !!
Continue this thread — 3 replies
Might I recommend incorporating some sort of mechanism to help people figure out a movie to watch?
- Sort by (name, start time, rating, distance)
- include video playback controls, useful info such as time of preview, buffering, etc..
- X out or remove videos from my personal view, this would be KILLER to allow me to narrow down my choices as I watch videos
It seems like it lowers the barrier to competition a bit too much for me.
Other than that, you could either make your business, rather than your technology, more competitive, or make your technology ever more sophisticated than what "commodity" development tools allow.
Microsoft Word is entirely client-side so it too can literally just be downloaded and reused by a would-be competitor.
Continue this thread — 9 replies
Continue this thread — 3 replies
Once you have a basic HTTP database API, you can do most of an app in client-side JS. Security is the hardest part to get right. In CouchDB we've tried to follow the web security model when it makes sense (single origin policy, oauth, etc).
CORS and WebSocket are both changing the web model, so it's not surprising to see the idea of a simple data API catching on as the web gets more power. Can't wait to see where this goes.
As one example, for a lot of businesses, the value is not so much in the app itself but in the data the app interacts with. In those cases, giving your competitors the source code to your app does mean they could copy anything they want from your app, but that doesn't do them much good if the real value is in the data.
Dropbox for JS objects.
If I've got that right, I think this is totally awesome for front-end web devs and the most exciting backend-as-a-service out there.
All comments shown.
Couldn't load more comments. Check your connection and try again.