Presentación
HTML (pincha para descargar)
Vídeo
Transcripción
Extracto de la transcripción automática del vídeo realizada por YouTube.
good everybody my name is bent eise in case you're wondering I'm from Melbourne Australia so I apologize in advance for the accent is there anyone else from Melbourne Australia in the room okay all hello hello that was what I expected hello Glen wherever
you are today I'm gonna talk a little bit about rich object models in angular because angular is blissfully undirected awesome nailed it services great idea and di and all that sort of stuff controllers excellent but models like you can do anything you
want and you know plan l pojos terrific awesome but you know what happens when you actually do want a complex kind of object model and I'm going to talk a little bit about some strategies that we can use for that sort of thing I'll talk a little bit
about my background some motivations for this of dig into just some simple strategies for loading data at first and then segue into adding business logic complex business logic to your models then I'll get into some advanced stuff after that identity mapping
I've been a memorization performance and so on so a little bit more about me so I've been a Java developer well I was a Java developer for about ten years working for about 15 and about three years of Rails in the last couple of years have all been
JavaScript I soft wear consultant certainly not a framework developer or anything like that I basically just build software for people and have been doing so for a while and which is fun but look there's a sad reality to what I do and that is that most
of the apps that I build fundamentally are just about creating reading and updating data from a data base okay and that's not to say that UX is an important UX is really important and becoming increasingly so as a sort of competitive differentiator but
I think that you know I'd be lying to you if I said that at the end of the day doesn't all it all boils down to this now I'm interested in angular because it lets me build good you X's in a scalable subtle way but I need you know models under
the hood and I think I can kind of there's something that I can blame for that and that's probably rails now I'm a bit of an unapologetic rails fanboy from the past to me rails applications kind of represented a high point for building web based
crud apps and look this is kind of a kind of a sort of lame way to put it but it's kind of like when you've been in a relay with someone in the past and it was all good and then for various reasons you drifted apart and and broke up and so on and you'd
offer good reasons you're on good terms with each other but you know you'd be lying to yourself if there weren't times now we just kind of look back and go well that was nice you know so and rousers kind of like that for me you know it was nice
you know but things have moved on so you might be saying okay well rich object models you know Ben what are you talking about really so I think the best way to demonstrate it is really with an example so but I've got to warn you about something and that
is that no directives or anything like that in this presentation not going to cover that so some of the UX you're gonna see could be a little bit disturbing to you just going to give you some advance warning on that now the real world application I'm
going to base my work on is actually a rails it's based on the rails app that actually developed a couple years ago and it was for a client and what the client did fundamentally was they fitted out the interiors of private jets with stuff like video players
music players fancy lights and an Oh massage seats you know whatever you want okay they'd fit it out for you and they'd do it for you know owners of the people who rich businessmen who had their own private jets rich Saudis sheep so look it wasn't
exactly sort of job where he got out of bed in the morning knowing you were going to make the world a better place but it was still it was kind of interesting okay now I can't really talk about exactly who the client was what but what I've done is
i ported some of the calculations from this out to angular do JavaScript just to sort of see how it would all work out so let's just call the app pimp my plane okay because that's fundamentally what it all was okay that's what it boiled down to
and what my client needed was a way to assemble proposals for when they pimped out planes you know to figure out how much it was going to cost them and how much they were going to charge the client and so on and it turns out that peeping out planes for people
is actually kind of hard because under the hood there's this really complex object model okay so yeah at the very top you've got this proposal I only expect you to follow all the details in this but just to give you a summary at the top you've
[ ... ]
Nota: se han omitido las otras 2.448 palabras de la transcripción completa para cumplir con las normas de «uso razonable» de YouTube.