Live data from Hacker News

AngularJS powered mobile boilerplate app that also does offline out of the box

github.com

1–10 of 21 posts

Re: AngularJS powered mobile boilerplate app that also does offline out of the box

#3
post #2

I want grunt :). That would make this usable as yo seed and much more modular. Where are tests?

The only thing we'd use grunt for in this case would be to do the requirejs step; which is covered in a simple 3 line build script. It would make sense if adding stuff like coffee or LESS; but I want to keep it clean, simple and stupid.

Re: AngularJS powered mobile boilerplate app that also does offline out of the box

#4
I was ready to say that angularjs plus mobile does not work based on our experience but at least your demo works well, though I think it has few bindings. I'll try it later in android browser on froyo and see if it can handle that. We had kinda written off angularjs on mobile but have to say this looks good.

Re: AngularJS powered mobile boilerplate app that also does offline out of the box

#5

I was ready to say that angularjs plus mobile does not work based on our experience but at least your demo works well, though I think it has few bindings. I'll try it later in android browser on froyo and see if it can handle that. We had kinda written off angularjs on mobile but have to say this looks good.

Thanks! The entire javascript package (r.js + angular + mobile-nav + actual app) is 100K minified and is cached by appcache, so it's pretty darn fast. I've tested on iOS as well and it runs pretty nice, let me know about experiences with Android.

Re: AngularJS powered mobile boilerplate app that also does offline out of the box

#8
So I'm not a mobile dev but looking into it.

Can someone explain the meaning of this sentence? "It uses the HTML/CSS that all the system apps use as well, which means they're rock solid, and will have a native look 'nd feel". Wot?

If there was "some HTML/CSS" that'd let me avoid Sencha or jQmobile or Dojo or whatever, that'd be pretty neat. Now I love Ratchet but it seems "yeah this is just for prototyping" and so there's no real push behind it to make it the mobile-UI lib par excellence it could otherwise easily become.

So anyway, "the HTML/CSS that all the system apps use as well" --- what does this mean exactly?

Re: AngularJS powered mobile boilerplate app that also does offline out of the box

#9
post #7

When you talk about 'mobile app', are you referring to an alternative mobile site the user sees in the browser or packaging it up in something like PhoneGap (or putting it in a native WebView)?

In this case: mobile website. This 'app' runs in the browser and all strategies used here don't rely on anything like PhoneGap. If you need access to certain PhoneGap features you can of course package the app up but it's not required at all.

Re: AngularJS powered mobile boilerplate app that also does offline out of the box

#10
post #8

So I'm not a mobile dev but looking into it. Can someone explain the meaning of this sentence? "It uses the HTML/CSS that all the system apps use as well, which means they're rock solid, and will have a native look 'nd feel". Wot? If there was "some HTML/CSS" that'd let me avoid Sencha or jQmobile or Dojo or whatever, that'd be pretty neat. Now I love Ratchet but it seems "yeah this is just for prototyping" and so th…

The Firefox UI library (presented here at http://buildingfirefoxos.com) is part of Firefox OS. It contains HTML/CSS elements that are used to build up the Firefox OS core system. These elements are all included. However, the 'native look nd feel' applies to Firefox OS, not to other platforms. That doesn't mean that it won't work there either of course, it'll just look Firefox OS'y :-)
Post reply on HN