Ratchet: Prototyping iPhone apps in simple HTML, CSS, and JS
maker.github.com
maker.github.com
HN top page, parsed by webscript.io, hosted by site44.com, using ratchet :)
Edit: pattern matching a little off.. Only 28 results showing up https://gist.github.com/e449457ff64cf4bccc44
It's a HTML/JS/CSS prototyping tool, so if you're building a web application for iPhone it makes it so much easier to get a basic prototype together and start hallway testing. Interface builder is _not_ the tool for doing this.
Additionally, just because you're not 'creating stuff like this in graphics' doesn't mean that you'll never create a proper interface for the application, it just means you can get a __prototype__ together quickly. Spending time creating a well designed interface takes away from what a prototype should be.
'...this screen looks like.. well you know a stock tableview'
And sometimes these people aren't in the same room/building/country
Simply dismissing the tool because you cant think of a use-case is a bit short sighted.
PS: also when designing for the iphone, elements have a surprisingly different feel when shown on a device.
Users can't interact with paper mock ups.
You have to re-draw the menu on every page you mock up or tell the people you're showing the mock up to imagine it. Both of these suck.
The Ratchet website talks about "iPhone apps" in general (not just web applications). And for non-web apps, storyboarding (in Interface Builder) is a great prototyping tool. And it has the advantage that it has all the common iOS UI concepts (and only them) and can be fleshed out into the real app afterwards.
As is the case with just about every other application, project, framework, and sexual intercourse: there are many ways to do the same thing and not all of them work for everyone.
See, the need this fills (and apparently does a good job at) is to give front-end web devs resources to write UIs in PhoneGap that look just like Interface Builder apps. Why would you want to do this? Possibly because you don't have iOS coders. Or perhaps your coders are already familiar with the web, so why not re-use their skillz?
The assumption here is that a front-end web dev can get a native-looking iOS app together faster in PhoneGap than a native developer can get a real iOS app together. While that's not always going to be true, it is probably usually true. And for some apps (like, virtually anything that's just business-oriented and doesn't require crazy stuff), the difference will not be noticeable by end-users (although it might trigger an uncanny valley feeling).
Sounds great.
Slightly off-topic... the name "Ratchet" seems to be getting pretty crowded. In addition to this, there's also:
- Ratchet the websockets library for PHP: http://socketo.me/
- http://ratchet.io - error tracking (my startup)
- Ratchet the consulting company (acquired earlier this year), which owned ratchet.com
(Although unfortunately this is an example of a poor explanation of a lyric, as it doesn't explain what "ratchet" means, it just paraphrases the lyrics without adding any insight.)
Edit: clarifying what I meant by HTML5 app.
I found the WYSIWYG builder Codiqa on their web site was really handy. It was literally 5 mins of building, download, and then tweak the HTML file and I was done.
Perhaps that is the next step for Ratchet? A drag and drop WYSIWYG editor.
Ratchet does look awesome, though it seems from these comments the goal isn't to build a HTML5 mobile framework, so I'm not sure it would replace jQM in that regard.
I just tried ratchet out on my Android phone - it works well under chrome, but there are some minor CSS problems with the directional buttons under the built in web browser. Performance seems ok, but not lightning quick.
On the ipad everything seems to work ok. I had a bit of trouble with sliding the toggles.
So on the face of it, building an actual HTML5 app should be feasible. Does anybody with an iphone or a windows phone want to comment on how it runs?
<iphone-app>
<title-bar>
<button-prev />
</title-bar>
<slider>
<image src="1.jpg" />
</slider>
</iphone-app>
On the backend you can have something like: angular.module(...).directive('titleBar', function(){
template: '<header class="bar-title"><h1 class="title">{{title}}</h1></header>'
});
Will make writing the code much easier and intuitive.Also, great product! It looks beautiful and makes for fast prototyping! I can't wait to try it out! :)
Does anyone know of similar project that are built with the Android's UI in mind? It seems like almost all of these kind of projects are built with iOS' UI in mind... wonder why..
I do not doubt you. I just think it would be helpful if there was a reference.
Oct 2012: http://venturebeat.com/2012/10/17/android-smartphones-now-ha...
Jan 2012: http://www.businessinsider.com/apple-android-mobile-web-usag...
To help put things in perspective - how is this different from Sencha?
We chose the latter, but will work to improve the docs everywhere in the future.
What would you recommend for production use then?