... architectures.
In addition to managing business objects and processing the standard business logic,
every interface method in the Façade validates the incoming arguments, authorizes the
action for ... well as all cart maintenance methods: AddItem, RemoveItem,
ReCalculate, ShippingStrategy. etc.
The remaining types in this project are involved with shipping and shipping calculations.
The ... these to their shopping cart. Their
shopping carts can be managed by removing items and changing quantities. In the
shopping cart, shipping costs are computed based on the shipping method selected....
... book is in print.
xix
about the title
By combining introductions, overviews, and how-to examples, the InAction books are designed
to help learning and remembering. According to research in cognitive ... Parts in Action
Building Dynamic Web Portals
D
ARREN
N
EIMKE
MANNING
Greenwich
(74° w. long.)
For online information and ordering of this and other Manning books, please go to
www.manning.com. ... source code in listings or in text is in
a
fixed-width
font
like
this
to separate it from
ordinary text. In some cases, the original source code has been reformatted: we’ve added line
breaks...
... 53
4.4 Accepting input 54
Handling the successful storyboard path in an action 55
■
Using
the Post-Redirect-Get pattern 56
■
Handling the failure processing
of the action input 58
4.5 Testing controllers ... 22
2.1 The M inMVC 23
2.2 Delivering the presentation model 24
2.3 ViewData.Model 24
2.4 Representing user input 25
Designing the model 26
■
Presenting the input model in a
view 27
■
Working with ... fundamentals of
MVC views, including some of the templating features new in
ASP.NET MVC 2
.
Chapter 4 introduces the basics of controllers: handling requests, form posts,
and passing information...
...
test
domain for testing
• The
example
domain for creating documentation and examples
• The
invalid
domain for evoking error states
• The
localhost
domain for software loops
Domains that ... discuss this in more detail in Chapter 7. You will learn more
about reverse domains for IPv6 in Section 3.5.3.
1.4 Domain 0.0.127 .in- addr.arpa
The IP address 127.0.0.1 presents an interesting complication. ... the following zones are used:
Zone stub: Zone stub is actually a subordinate zone that only contains information
about what name servers administer in a particular subdomain (they contain the...
... be iterated over using
the foreach() construct in our view template. In listing 3.8, we assign it to the view within indexAction().
Listing 3.8 The IndexController’s indexAction displays a ... will call it config.ini as shown in listing 3.2 and place it in the
application directory.
Listing 3.2: The initial config.ini for Places contains just database connection information.
[general] ... architecture contains a plug -in system to allow user code to be executed automatically at
certain points in the routing and dispatching process. All plug-ins are derived from
Zend_Controller_Plugin_Abstract...
... Understanding class relationships 87
5.1 Inheritance 88
Inheritance as a thinking tool 88 ✦ Refactoring to inheritance 89
5.2 Object composition 94
5.3 Interfaces 96
The interface as a thinking tool ... type hints 58
3.5 Interfaces 60
What is an interface? 60 ✦ Do we need interfaces in PHP? 61
Using interfaces to make design clearer 61
✦ Using interfaces to
improve class type hints 62
✦ Interfaces ... title
By combining introductions, overviews, and how-to examples, the InAction books
are designed to help learning and remembering. According to research in cognitive
science, the things people...
... produced in the last couple of decades.
In addition to resulting in some changes to existing interfaces, the input interface
also introduces a number of new touches (one-fingered input) and ... 35
3
Using Xcode 36
3.1 Introducing Xcode 36
The anatomy of Xcode 37
■
Compiling and executing in
Xcode 38
3.2 Creating a first iPhone project in Xcode: Hello, World! 39
Understanding main.m ...
Data: actions, preferences, and files 139
8.1 Accepting user actions 140
8.2 Maintaining user preferences 141
Creating your own preferences 142
Using the system settings 147
8.3 Opening files...
... find the Author Online forum for this book by going to www.manning.com/
Open
CLinAction and clicking the Author Online link.
Simple questions and concerns get rapid responses. In contrast, if you’re ... 322
Creating the OpenCL context 323
■
Sharing data between OpenGL
and OpenCL 325
■
Synchronizing access to shared data 328
15.2 Obtaining information 329
Obtaining OpenGL object and texture information ... information 329
■
Obtaining
information about the OpenGL context 330
15.3 Basic interoperability example 331
Initializing OpenGL operation 331
■
Initializing OpenCL
operation 331
■
Creating data objects...