Hacker News new | past | comments | ask | show | jobs | submit | more salmanapk's comments login

Angular is used internally by Google for bit-more-than-complex projects so its possible my friend. It was also used for the Double Click for Advertisers rewrite.[1]

>and still lot of things they didn't support like proper callbacks upon rendering, etc

Heh render callbacks in Angular? That's so Backbone. Did you read the hello world tutorial?

1: https://www.youtube.com/watch?v=oJoAnVRIVQo


well, if you got the authors of angular on the team, anything is possible, no complaint there. magic is only 'magic' if you aren't the one who created it.

also i don't know why not too many people bring up such issues as the 'if/else/switch' flagging nightmare that comes with maintaining an angular code-base. it makes your code a very verbose in that regards.


If I understand correctly, most everything is still done with Closure Library and tools built in-house around that.


>Angular.js. Now this is more like it in terms of magic. Then, the other day, I decided to add a date picker to one of my forms. Uh oh: http://www.grobmeier.de/angular-js-binding-to-jquery-ui-date.... - how many lines of code just to make it a date picker? I couldn't have written that code myself without several more days of banging my head. Wonder what'd happen if I really try and do something it doesn't agree with... So out the window with that for the time being.

To be fair, you can just use Angular UI as that article says: <input ng-model="date" ui-date> for a date picker and the ui-jq directive for any other jQuery plugin.


Just in case this saves someone's time:

phantomjs-node uses ridiculous hacks. Not being rude but I think the author was drunk when writing that. I ended up wasting quite some time when trying to customize it.

You do NOT need to use any hacks whatsoever to run dnode on phantom, just browserify(https://github.com/substack/node-browserify) the shoe and dnode modules and use the example code at https://github.com/substack/dnode .


Makes me kinda hate the book since he was such an awesome blogger. :(


Aww. I really want to start blogging again, in ernest, this year. I loved all the old blog posts I did - would love to do it again!


>There’s no way to download resources with phantomjs – the only thing you can do is create a snapshot of the page as a png or pdf. That’s useful but meant we had to resort back to request() for the PDF download.

That's not a "problem", you shouldn't be using Webkit to download files.


Looks like Google App Engine.


yeah, I confirmed with him, he's using App Engine. And...the site's back up. :)


Totally agree. Even worse is when someone tries to shove another language down your throat in a JavaScript tutorial i.e., CoffeeScript.


Same. I also feel bad for the people stuck with Backbone.


I won't suggest any non-technical person to use the "open web" you guys want.


> Unless SSL certificates are suddenly free

Oh god why so many people dont know about StartSSL.com. They've been offering free SSL certificates since quite some time.


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: