I don't think the paper book has been written yet about how to structure the front-end code of a very modern web app. The landscape is changing very quickly and the publishers have not caught up with the bloggers and experts. However, here are some short paper books that will help in other relevant areas.
To avoid writing garbage JS right out of the gate, read JavaScript: The Good Parts by Douglas Crockford. To start thinking about the user experience intelligently, read Don't Make Me Think by Steve Krug I quite like jQuery, especially for small to medium sized apps. The online documentation is good. I haven't read the books. I learn new things about jQuery by listening to "The Official jQuery Podcast" and "The yayQuery Podcast". I'm starting to investigate the topic of JavaScript code organization myself. I'm flirting with using JavaScriptMVC or SproutCore but I can't make an informed recommendation about them yet. I suggest googling Rebecca Murphey's writings about code organization, starting with chapter 10 of her online book: http://jqfundamentals.com/book/book.html#N2185E I've been testing front-ends for years, and after several conferences I've confirmed with test-driven companies that continuous automated front-end testing remains wicked hard, but possible. Selenium is terrific for thorough in-browser testing, but be ready for a big investment of your time to keep the Selenium tests running smoothly for years. Some people hire Sauce Labs to run Selenium tests in the cloud. There's also Qunit and TestSwarm, which are young testing technologies built for testing jQuery in all possible environments. They might become a new best choice for JS app testing. On Jan 2, 8:44 am, Scoot <[email protected]> wrote: > Happy New Year all. > > Apologies for slightly off topic post, but would appreciate > suggestions. > > Looking to brush up on web front end dev skills. Tenuously java- > related, since the back end will be JEE serving up json/xml (tbc) via > REST services. (Jeez, buzzword overload - sorry). > > Front end will be html + javascript using one or more of the myriad js > libraries (jquery / dojo / ...). App itself will be a fairly typical > data-centric enterprise app (lots of data, business rules to validate, > presentation in tables etc.). > > So any recommendations of good books to read for the front end? e.g.: > - best practice for designing, structuring and testing contemporary > apps; > - good choices of js libraries and corresponding books? (just started > reading up but jquery seems to be increasingly popular?) > > thx. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
