ng-conf 2014

Filtros en AngularJS, más allá de OrderBy y LimitTo

Sharon DiOrio  · 

Código de la presentación

Puedes acceder al código fuente utilizado en esta presentación en el siguiente enlace:

https://github.com/Sharondio/talks/tree/master/2014/ng-conf-filters

Transcripción

Extracto de la transcripción automática del vídeo realizada por YouTube.

um my name is Sharon Diorio I work for euro-pro we make these shark vacuums and ninja kitchen products nobody's ever heard of us unless I say that I work in internal applications doing business intelligence analytics and that means if you go to the website

and it doesn't work it's not me I'm also the chief instigator of the angularjs Boston group we've been around about a year and I've ignored it for the past month in favor of this and I am the chief groupie of the boy band known as misko

and the company company so I was newly hired and my boss listened to me whine about having to do coding and PHP and candy ass which was a decent framework and he allowed me the opportunity to go and look at some new frameworks so I'm ignoring my slides

here the landscape was very different than if you were around you were looking at you know what are my options the yellow line is backbone that's what everybody was talking about blue line down there is angular so I went and I looked at backbone and I

didn't like it and I looked at ember and I didn't like it and I looked at and looked at angular and in two hours I wrote code that looked a lot like this now I was a JavaScript newbie so this was a big deal especially when I brought it in to the boss

and showed him what it did now those of us have been doing this for a while it's not that impressive because we've all done filters so it's like the first thing that you start playing with that data binding that if you've ever done a talk on

intro to angular you'll impress people who haven't seen it with stuff like this still I walked into the office the next day and like look at what I did and the boss was pretty impressed and it looks like we made excuse me the right decision and I think

you guys can all relax cuz you all need the right decision too so I'm sorry I was pretty sure it was magic the way it worked and I went looking for angular comics and there's not a ton of them yet and I'm sure that will have really made it when

there's some angular comics making fun of us things I won't be covering if you haven't used any of those by now you should go read the docs so a custom string filter I'm putting this up here for one reason and that is that let me ask a question

how many of you came to JavaScript because of angular like you were a traditional a couple people how many people have used another framework and kind of sidled in okay so you guys could just ignore me for a second something I noticed in the questions that

[ ... ]

Nota: se han omitido las otras 1.157 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.