Changes for page Best Practices-Starting From Scratch
Last modified by Klaus Berkling on 2011/09/06 00:31
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -18,20 +18,20 @@ 18 18 19 19 * Automatic EOEditingContext locking. This feature is huge. We'll talk about locking a lot in later sections, but trust me, you'll want WONDER to handle the locking for you. No more unlocked contexts to be corrupted while you edit them, and no more deadlocks and locked contexts lying around. 20 20 21 -* Collections re-implementation supporting Java Generics. This means that you may create an NSArray, NSDictionary or any other "NS collection" typed to a classorinterface. I don't actually like thisfeature, because I'm a LISP lover and I seethisas unnecessary constraints. Anyway, I mention this because I admit it may improvethe code quality insome ways, and because WONDER implementation is, in some ways, better than Apple's (Apple delivered generics support for collections in 5.4).21 +* collections with attachements 22 22 23 -* COUNT SQL query generation. This is a very, very useful feature, at least for me. There are many times when you just want to know how many objects are selected by a query, but youdon'twant the objects themselves, specially because we may be talking about tens of thousands,or more. Think something like Amazon querying its system for the number of books sold this month. The query results would be huge and unpractical tomanage in memory and time, and anunacceptableoverhead if all youwantis the count. WONDER provides a very easy way to do COUNT (and COUNT UNIQUE)queries.23 +* count and count unique 24 24 25 -* Extraqualifiers. Sometimes WO qualifiers are simply not enough. WONDER provides some handy qualifiers. Some of them are buggy and may not work, it's not one of the best quality WONDER features, but at least it's there, and it's open source, so you can fix any bugs you find.25 +* qualifiers 26 26 27 - There are many, many more nicethings about EXExtentions framework.You would be really bored ifI described only 10% of them. Besides ERExtentions, thereare also a number of cool extra frameworksin WONDER. Here are some of them:27 +Other frameworks: 28 28 29 -* Ajax Framework - provides a really easy way to add Ajax calls to your application. Ajax Framework integrates Ajax in the WebObjects Request-Response loop in a very intelligent way. You program all of the Ajax stuff as you program normal component actions. An action method is called, you do whatever you want, and return a component (usually null). The defined block of the page is updated. No page reload, the user is happy, and you are more than happy because you actually had to do nothing (well, almost). We'll look at Ajax Framework later.29 +* Ajax 30 30 31 -* ERJavaMail- useful framework for managing email.31 +* Mail 32 32 33 -* ERPrototypes- A collection of data model prototypes for popular databases. You may use this framework or create your own prototypes, but **do** use prototypes. If you are lost, don't worry, we'll look at this later.33 +* Prototypes 34 34 35 -* Excel Generator - A POI wrapper framework for generating Excel documents, a very useful feature in many web applications.35 +* Excel 36 36 37 37 * Graphs