text:
Puzzle Levels
Download a FREE Solution for your puzzles!
Click Image to Enlarge
3x3x3 Birthday Cake
Product Information
|Mix it up and put back to start
|Level 8 - Demanding
|Other Rotational Puzzles
|1.97 in x 2.17 in x 2.17 in / 5 cm x 5.5 cm x 5.5 cm
Product Description
Note: This rotational puzzle is not meant for speedcubing.
Customer Reviews |Write your own review!
4 out of 5 stars
Disclaimer: These reviews are written by our customers. Puzzle Master makes every attempt to keep these posts informative and relevant. If you find a post objectionable or inappropriate, please let us know by sending an email to firstname.lastname@example.com
On Tuesday October 22nd Mugsy wrote,
This may not be the most sturdy puzzle, but it's fun, and great for waiting in a grocery line. It solves like a 3x3x3 cube (I learned most of my 3x3x3 algorithms from CrazybadCuber on YouTube). It's cute, cheap, stickerless, and colourful. What's to lose? Enjoy.


text:
Cosplay Central
shopping cart
Uchiha Itachi Coat Only-Child Large
Black long sleeved coat with red "clouds" appliqued with silver thread; High collar, full length red zipper, fully lined. High quality custom designed cosplay uniform. **Accessories NOT included
Includes: Coat
Kids Sizes.
Includes: Coat
Kids Sizes.
our price: $ 44.95
reg: 60.00

subset: commoncrawl


text: Convert DVD to 1080p HD Video for HTPC Playing with 5.1 ChannelsHTPC is shorted for Home Theater PC. In other words, HTPC is a computer intended as the hub of a household's media needs: movies, television, music, games and the Internet. So, what format does HTPC support playing? Generally speaking, HTPC supports...[ Learn More... ]


text:
How Technology Is Changing The Design World
Learn the latest tools, apps and digital resources for shopping, sourcing, inspiration and designing products online. Presented by Laurel & Wolf Design.
Learn the latest tools, apps and digital resources for shopping, sourcing, inspiration and designing products online. Presented by Laurel & Wolf Design.
As a fashion editor, Alex Badia sees the trends on the runway long before they hit the streets. Badia will give his insights on the trends seen on the WWDMAGIC show floor and their evolution from the catwalk. Speaker: Alex Badia, Fashion Editor, WWD: Fashion Director, M Magazine.
The word 'influence' is thrown around quite frequently, and has many connotations. What began as a thriving blogging community has now grown into much more, with social content creators creating highly influential content through social platforms like Instagram and Vine. In this panel, we will discuss the future of such influence (and influencers), and how brands can best get involved and get seen. Moderated by: Matte Black.
Join FN PLATFORM and SOLE4SOULS as we give back to the children of Las Vegas. We are partnering with Big Brothers Big Sisters of Southern Nevada to provide Back to School footwear, apparel and accessories to over 300 children ages 6-18. This is a great way to kick off the show for attendees and brands - we need YOU!
Stop by FN PLATFORM's #WESEEYOU Blogger Command Center for a Q&A session with Miss USA.
An in-depth conversation on how denim brands maintain and cater to their customers in the age of sustainability, responsibility and transparency. Panelists will discuss B2B and B2C perspectives on how denim brands change their design and manufacturing techniques to meet market demands, incorporate new design methods and modify their production in order to be more sustainable.
When it comes outfitting for film, television and web programming, designers don't always run to local shops or designer showrooms to procure wardrobe. To tell the stories of the characters designers often create what they need. That's where sourcing textiles and materials come in. Costume designers discuss how they build characters through their wardrobes, whether they make it from scratch, thrift it, or even customize something found. They also share current industry trends with retailers, buyers and designers.
Leading shoe, apparel and jewelry designers are now using 3D printing to prototype design in order to save production and time to market costs. Learn from leading designers and brands how 3D printing is helping them maintain and grow their bottom line. This panel is an indepth look at what 3D design & innovation can do for retailers and brands.
Conceptualizing and designing products that consumers want becomes more challenging as technology advances. In order to keep up with the pace at which culture moves, designers now look to crowds to help influence product design. Learn how the power of community is driving innovation.


text:
Book your room at Hilton Garden Inn Las Vegas/Henderson
One king bed evolutionMax Occupancy: 3 guests (up to 2 children, 2 infants)
One king evolution roomMax Occupancy: 3 guests (up to 2 children, 2 infants)
One king bed junior suiteMax Occupancy: 3 guests (up to 2 children, 2 infants)
Two queen bedsMax Occupancy: 4 guests (up to 3 children, 3 infants)
One King Bed, Non-Smoking, Roll In ShowerMax Occupancy: 2 guests (up to 1 child, 1 infant)
Two Queen Beds, Non-Smoking, Roll In ShowerMax Occupancy: 4 guests (up to 3 children, 3 infants)
Henderson hotel with an outdoor pool
Situated in the city center, this hotel is close to Galleria at Sunset, Ethel M Botanical Cactus Gardens, and Ethel M Chocolates Factory. Local attractions also include Touro University Nevada and Wildhorse Golf Club.
Hotel Features
In addition to a restaurant, Hilton Garden Inn Las Vegas/Henderson features an outdoor pool. Other amenities include a bar/lounge and complimentary wireless Internet access.
Room Amenities
In addition to complimentary wireless Internet access and complimentary high-speed (wired) Internet access, guestrooms feature microwaves along with air conditioning and climate control.Information missing or incorrect? Tell us!
Hilton Garden Inn Las Vegas/Henderson
Hotel Amenities
In addition to an outdoor pool, Hilton Garden Inn Las Vegas/Henderson provides a spa tub and a fitness center. The hotel offers a restaurant. A bar/lounge is on site where guests can unwind with a drink. High-speed wireless Internet access is complimentary.
This 3-star property offers access to a business center and a meeting room. Event facilities measure 1350 square feet (125 square meters). This business-friendly hotel also offers gift shops/newsstands, dry cleaning/laundry services, and express check-in. A roundtrip airport shuttle at scheduled times and a shuttle from the airport to the hotel are complimentary for guests. Complimentary self parking is available on site.
Hilton Garden Inn Las Vegas/Henderson is a smoke-free property.
- Airport transportation (complimentary)
- Airport transportation - pickup (complimentary)
- Total number of rooms - 151
- Number of floors - 3
- Restaurant
- Bar/lounge
- Business center
- Express check-out
- Fitness facilities
- Elevator/lift
- Gift shops or newsstand
- 24-hour front desk
- Express check-in
- One meeting room
- Luggage storage
- Safe-deposit box at front desk
- Free self parking
- Conference space size (meters) - 125
- Shopping on site
- Smoke-free property
- Spa tub
- Outdoor pool
- Dry cleaning/laundry service
- Free Wi-Fi
- Year Built 2007
- Conference space size (feet) - 1350
- Number of buildings/towers - 1
Family Friendly Amenities
- Outdoor pool
- Free Wi-Fi
- Rollaway/extra beds available
- Microwave
Available in all rooms: Free Wi-Fi Free wired high-speed Internet
Available in some public areas: Free Wi-Fi
Room Amenities
- Complimentary newspaper
- Free local calls
- Coffee/tea maker
- Microwave
- Bathtub only
- Hair dryer
- Iron/ironing board
- In-room safe
- Rollaway/extra beds available
- Free Wi-Fi
- Free wired high-speed Internet
- Climate control
- Air conditioning
- Room service
Where to Eat
Great American Grill - This restaurant serves breakfast, lunch, and dinner. Guests can enjoy drinks at the bar.
Room service is available.
Nearby Things to Do
An outdoor pool and a spa tub are on site. Other recreational amenities include a fitness center.
To make requests for specific accessibility needs, complete the "Special or Accessibility Requests" section of "Trip Preferences" when you book your hotel.
- Accessible path of travel
- Accessibility equipment for the deaf
- Accessible bathroom
- Accessible parking
- In-room accessibility
- Roll-in shower
Hotel Policies
Check-in time starts at 3 PM
Minimum check-in age is 21
Check-out time is 11 AM
Payment types
You need to know
Extra-person charges may apply and vary depending on hotel policy.
Government-issued photo identification and a credit card are required at check-in for incidental charges.
Special requests are subject to availability upon check-in and may incur additional charges. Special requests cannot be guaranteed.
- Minimum Spring Break check-in age is 21 years old.
- The name on the credit card used at check-in to pay for incidentals must be the primary name on the guestroom reservation.
We should mention
Children 10 years old and younger stay free when occupying the parent or guardian's room, using existing bedding.


text:
ZF2 will at some areas offer integration with Doctrine2. There are however no plans to ship Doctrine2 with ZF itself. Even if we would want to ship Doctrine2, it would be impossible because of contradicting licenses.

When talking about integration, you can think of:

A ResourcePlugin for Zend\Application that bootstraps Doctrine

An adapter for Zend\Authentication that relies on Doctrine

A cache driver implements Doctrine\Common\Cache\Cache using Zend\Cache

A Zend\Navigation adapter that uses Doctrine.

A writer for Zend\Log

A Doctrine-adapter that can be utilized by Zend\Paginator

A Doctrine-adapter that can be utilized by Zend\Queue

A Doctrine-version of Zend\Validator\Db

A Doctrine-provider that can be utilized by Zend\Tool

Note: Since ZF2 is all new and cool and stuff, we forget about Doctrine version 1...

Jan 12, 2011

If anyone steps up to write that we'll be likely to have that too. Adding to the page.

Jan 13, 2011

We already have one created for ZF 1.x, all we would need to do is update it for Doctrine 2.x and make a ZF 2.x version. Should be a rather quick change.

Jan 14, 2011

Paginator for ZF1 and Doctrine 2 already exists. You can find it here https://github.com/beberlei/DoctrineExtensions

The problem is that to have support for pagination inside Doctrine 2 you need to use an extension. And I believe that the extension will be shipped with a ZF2 Paginator adapter once the ZF2 gets some traction.

Sep 19, 2011

It's working perfect with Doctrine 2.0

Jan 15, 2011

An cache driver implements Doctrine\Common\Cache\Cache using Zend\Cache

Jan 22, 2011

I would also like to suggest Zend_Session_SaveHandler_Doctrine. Given Doctrine's DBAL, one could choose to save to Mongo or Redis as an alternative to something like memcache.

Jan 30, 2011

I suggest an ACL Doctrine-provider for Zend\Access if the feature provider exists.

Mar 01, 2011

It would be nice to use Zend\Form with entities also with Zend validators. Like in Symfony: http://docs.symfony-reloaded.org/guides/forms/overview.html#forms-and-domain-objects

I think validation should be in model level and forms have to use these validators (plus some optional validators). I started a project here: https://github.com/szjani/equcms

Probably I will modify the existing code because it could be better...

Sorry for my bad english.

Mar 15, 2011

For me one of the most wanted features, beside the Zend_Application resource plugin, is the tighter connection between Zend_Tool and the Doctrine cli commands. A Zend_Tool manifest with commands which proxy to Doctrine_Cli (or another method) might become very useful. Especially when in ZF2 more attention is paid to Zend_Tool and its features.

Oct 23, 2011

Regarding the list of integration points above:

Zend\Application: Bootstrap resources have been replaced with Zend\Di. Support could be provided through a set of factory classes for use with Zend\Di, which can then pass the entity manager instances to any classes that need them. Keeping this in the DI layer, rather than a container class, would allow for switching out an entity manager without changing any other code.

Zend\Authentication: The ZF1 style database adapter could be re-created with findOneBy(), using the Entity name instead of directly specifying the database table/column.

Zend\Validator\Db: Same as Zend\Authentication.

Zend\Cache: The Doctrine Cache implements a subset of Zend\Cache, a proxy class could be a good choice here.

Zend\Navigation: Uncertain, see below.

Zend\Log: An ORM or DBAL version of this class would be simple to build. Making it work with any other storage backend (MongoDB, CouchDB, etc) may take specific adapters.

Zend\Paginator: Already discussed in other comments.

Zend\Queue: Don't know enough about Zend_Queue.

Zend\Tool: Don't know enough about Zend\Tool. Perhaps a simple bootstrapping harness that wraps the Doctrine's own CLI tools.

Rather than building ORM specific implementations, it might be better to code against the Doctrine\Common\Persistence interfaces, creating one version for MySQL, MongoDB, Couch, etc. There's enough functionality there to implement most components.

For others that might take more specific query functions (Zend\Navigation, for example), we might still need specific ORM or MongoDB adapters. There should be a clear class hierarchy to make it clear which adapters are specific to a backend and those which are common.

Some of the components like Navigation and ACL might benefit from a hierarchy technique such as NestedSet or MP but it's not core in either project and shipping a third party one might be tricky. For others, like Paginator, there are existing classes; if we can find one with the correct licensing, it would save some work.

I'd love to see more done with using the ClassMetadata, such as automatically building validator chains or populating form options through relations but this should probably be a separate RFC.


text:
Samsung Focus I917 Cases / Covers
About Samsung Focus I917 Cases / Covers
Pick up a Samsung Focus case for great protection! A skin is not necessarily the only option you have in protecting your cell phone. Sometimes, you only want a case to keep it safe while you are not using it, which makes the Samsung Focus cases an ideal fit for you!Watch this video to decide which types of Cell Phone Case fits you


text:
Welcome, Guest Sign In or Register
Cart Total:
Your cart is empty.
Continue Shopping
Our NFL dog ID tags are a must for the next game day. Patriots? Packers? Cowboys? There's no better way to show off your favorite football team than to have your dog wear a licensed NFL team pet ID tag.
We believe in giving back to the animals in our lives who give us so much. If you do too, be our pal!
Monday through Friday, 9AM to 5PM CST.
© Copyright dogIDs.com. All Rights Reserved.


text:
Force India head to Monza with a new wing configuration designed specifically with the high-speed Italian track in mind...
Paul di Resta: "It's one of those really special races and a venue where you can really appreciate the history of the sport. It's also another place where the fans really get behind Formula One and always create a brilliant atmosphere. It always takes a while to get used to the car because we run with a lot less downforce compared to any other circuit. Your braking distances increase and we're travelling about 25 km/h faster than we do all year. So adapting to that quickly and getting up to speed is always a challenge. It's mainly about getting the brakes right. You need to have your brake balance spot on and it's not easy when you're changing fuel load - especially in practice and on low fuel in qualifying. You also need to be aggressive and use the kerbs to get the lap time."
Nico Hulkenberg: "I really enjoy Monza. It is the last high-speed circuit of the year and the atmosphere is just brilliant. Obviously every team brings a new wing configuration to Monza because the track is so unique, so we have to wait and see how our aero package performs there. The target remains more points on Sunday."
Dr Vijay Mallya, Force India team principal: "The car was working well in Spa and looked competitive on the straights so I'm hopeful we can carry this over to Monza where we run with even less downforce."


text:
Discover Chocolate and Live La Vida Cocoa!
If you would like to see what this Go*Do 34% Milk Chocolate Bar tasted like then click here.
Share Twitter
Views: 13
Tags: 34%, Chocolate, Go*Do, Italian, chocolate, More…milk, organic
Albums: Milk Chcoolate
Join The Chocolate Life
Welcome toThe Chocolate Life
Sign Upor Sign In
Follow Clay on:
Twitter :: @DiscoverChoc
F'Book :: TheChocolateLife
F'Book Group :: LaVidaCocoa
Paper.li :: @DiscoverChoc
© 2014 Created by Clay Gordon.
Badges |
Report an Issue |
Terms of Service
Please check your browser settings or contact your system administrator.


text:
Cape Cod - 460Join this group
event BY Tim Lynch ON March 17 - 0 COMMENTSCCTU's Annual Fly Fishing SchoolMay 16
Cape Cod Trout Unlimited's Fly Fishing School is held annually the 3rd weekend in May at the Camp Burgess/Hayward YMCA. The YMCA is located on the banks of SpectaclePond in Sandwich, MA. This is a weekend, sleep over school that includes lodging, meals, and tackle. Trout Unlimited instructors... [ READ MORE... ]
event BY Tim Lynch ON March 15 - 0 COMMENTSCape Cod Trout Unlimited Annual Fundraiser BanquetApril 13
CCTU's annual fundraiser banquet will be held at the Riverview Lobster House in Yarmouth on Sunday, 13 April from 3-7 PM. Call Wayne Miller to make a reservation at 508-259-0309 or 508-362-3678. Lots of great Bucket Raffle Prizes and Silent Auction Items will make this a don't miss banquet. All... [ READ MORE... ]


text:
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
The MVC components consist of the Zend_Controller and Zend_View families (and, nominally, Zend_Db_Table). However, there is no current integration of these components; a simple patch would enable this.
Zend Framework: MVC View Integration Component Proposal
Proposed Component Name
MVC View Integration
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/MVC View Integration
Matthew Weier O'Phinney
1.0 - 7 March 2007: Original proposal creation (wiki revision: 5)
Table of Contents
1. Overview
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
The MVC components consist of the Zend_Controller and Zend_View families (and, nominally, Zend_Db_Table). However, there is no current integration of these components; a simple patch would enable this.
The MVC components consist of the Zend_Controller and Zend_View families (and, nominally, Zend_Db_Table). However, there is no current integration of these components; a simple patch would enable this.
4. Dependencies on Other Framework Components
- Zend_Exception
- Zend_View_Interface
- Zend_Controller_Action
5. Theory of Operation
Two new methods will be added to Zend_Controller_Action, initView() and render(), and two new properties, $view and $viewSuffix. When called the first time, render() will check to see if $view has been populated, and if not, call initView() to initialize the property.
render() will by default render the script <controller>/<action>.$viewSuffix in the view object's script path. If an argument is passed in, it will render $action.$viewSuffix. All rendered views are appended to the response object.
The default implementation of initView() will instantiate a Zend_View object and set the script, filter, and helper paths based on the following directory structure:
Thus, the script path will be set to ../views/scripts, helpers to ../views/helpers, etc, relative to the controller class file.
6. Milestones / Tasks
- Milestone 1: initial proposal accepted
- Milestone 2: working and tested code checked into core
- Milestone 3: documentation exists
7. Class Index
- Zend_Controller_Action
8. Use Cases
This example illustrates the default usage.
The following example illustrates two concepts:
- Initializing the view to allow assigning data to it
- Rendering an alternate view script (i.e., something other than controller/action.phtml)
This example illustrates using a different suffix
This example illustrates overriding initView() and render().
9. Class Skeletons
Mar 07, 2007

Hi Matthew,

have you considered the use case where you have your views split up into a global section that remains constant for the whole application (e.g. a common page header), a controller-specific view (e.g. a navigation sidebar) and, finally, an action view that is embedded into the other two view outputs?

I have described in a past blog post what I mean - the implementation presented there is far from perfect, and it was based on a much older version of the framework (about 0.6 or even before, I think), but I think you'll get the idea.

http://blog.wolff-hamburg.de/archives/5-Extending-Zend_Controller_Action.html

Any chance we might see support for something like this? Or how would you propose to tackle that problem?

CU

Mar 09, 2007

Forgot to 'watch' the page!

The cool thing about Zend_View is that you can add multiple script paths. Now, one potential issue with render() using the controller to determine the subdirectory is the difficulty of using a 'sitewide' or 'application-wide' area. This could easily be overcome by allowing a second flag to render() that would disable the controller subdirectory:

<ac:macro ac:name="code"><ac:plain-text-body><![CDATA[
public function render($action = null, $noControllerDir = false)
// .. same...
if (!$noControllerDir)Unknown macro: { $script = $request->getControllerName() . DIRECTORY_SEPARATOR . $script; }
// same...
Mar 07, 2007

Only two small quibbles:-

Is '.phtml' a good default? I would have thought '.php' would be the best for Zend_Views in 90% of cases? '.tpl' would be good for Smarty... Perhaps instead the suffix is best determined by the Zend_View so if you provided a Smarty view to as $this->view then you don't need to override the property in the controller? E.g.
<ac:macro ac:name="code"><ac:plain-text-body><![CDATA[
$script = $controller . DIRECTORY_SEPARATOR . $action . '.' . $this->view->getSuffix();

Perhaps render could have a second boolean flag which determines if the response adds or sets the view output. In some cases you may wish to completely clear all existing content from the response.

Otherwise I can't see any major problems and it would indeed be convenient.

Mar 09, 2007

Suffixes are a developer preference, really; you don't need to use .tpl with Smarty, nor .php with Zend_View. I actually chose .phtml as (a) most apache configurations specify it as an alternate extension associated with the PHP engine, (b) most IDEs and text editors will identify .phtml as PHP + HTML for syntax highlighting, and (c) it visually separates template scripts from other PHP files in the directory tree.

I've already mentioned a second flag for determining if the script should be searched for in the controller subdirectory.. I'll consider this, as it makes sense as well, but I don't want a ton of options to pass to render(). It should be quick and dirty in most cases.

Mar 08, 2007

This is a good idea. I extend Zend_Controller_Abstract for every project to do something very similar.

I want to echo Markus though and ask about how the common elements on all templates across the application would be handled.

From what I've seen there are two common approaches:

1. include header.php/footer.php to the top/bottom of every single action view template.

2. have a master.php that includes the action view template.

Some sort of support for handling the commonalities would make this proposal more useful IMO.

Mar 08, 2007

Hi all,

maybe it's a stupid question or at least out of topic <ac:emoticon ac:name="smile" /> but :

does it mean that one action = one template ?

What's happened if one action should trigger two separate templates rendering ? Should I create another action and then use the forward method ?

I mean, let's consider I'm in the newItemAction, so I create the item in the database then I want to display it. The action calls the editItem template, but meanwhile I need to update the pager because the total items has changed. Should I for example create a displayPagerAction in my controller so that I could forward it ? Then I could render the two distinct part of my page.

I'm almost sure I didn't understand something here...Could you enlighten me ?

Mar 09, 2007

It suggests one action == one template, but you could call render() any number of times in the action method. The method's first argument is optional, and by default it will use the current controller and action to determine the view script to utilize. However, if you pass an argument in, it will use that instead:

<ac:macro ac:name="code"><ac:plain-text-body><![CDATA[
public function listAction()
// .. do some processing...
$this->render('searchForm'); // append <controller>/searchForm.phtml to response

You could also do as you suggest in your comment: simply forward to another action when done with processing the current action. Since render() appends to the response object by default, this would aggregate sequentially. However, it's more expensive to dispatch another action than it is to call render() on another view script.

Mar 08, 2007

Hi,

view part of mvc is a little bit omitted, this is very good news that somebody what to improve this part. I think very important is what Markus has written, There is a need of some kind of view inheritance, where you can exchange only some parts of view (header, footer, etc.) and skeleton would be always the same, also please consider that methods like initView(), render() in controller class don't introduce much functionality, these methods are very simple. I think we should think about some kind of mappings between (module)/controller/action and view. When you dispatch action, view Controller choose proper view, and you don't have to think about it, you just write view, actions and set mappings. I've already done something like this, with use of plugins architecture of f. Controller and mappings in xml (mappings for module can be overwritten in controller mappings), works well with a few problems of inheritance.

Mar 09, 2007

Maciek – render() does perform mapping between controller/action and view, and it works automagically. The idea is that if you have something like this:

<ac:macro ac:name="code"><ac:plain-text-body><![CDATA[
class FooController extends Zend_Controller_Action
public function listAction()Unknown macro: { $this->render(); }

then render() will load foo/list.phtml in the current view script path. Additionally, the assumption is that the view script path is per-module.

Mar 08, 2007

I don't feel that this proposal should necessarily tackle the problem of common templates (or 'layouts' as I name them in my apps). That is more the domain of the developer, who can choose their approach as necessary.

I'm starting to favour the former direction suggested by Rob Allen whereby each view fragment has a header/footer that relates to either a common layout or a special-case layout as appropriate. The hassle I found with the latter option was that I needed to set a view property to tell the script which page to include, which seemed a bit convoluted.

<ac:macro ac:name="code"><ac:default-parameter>php</ac:default-parameter><ac:plain-text-body><![CDATA[
$view = $this->view;
$view->news = $news->fetchAll();
$view->template = 'news/index.tpl';

But I guess what I'm trying to say is that this is my design strategy, not Zend_View's nor Zend_Controller_Action's, and I think that allowing Zend_Controller_Action more responsibility in making those choices would be a poor design decision.

It would be cleaner to write a Zend_View_Layout class yourself with a setTemplate() / getTemplate() method so that within your layout script you could simply call:-

<ac:macro ac:name="code"><ac:default-parameter>php</ac:default-parameter><ac:plain-text-body><![CDATA[
<?php echo 'Generic Header' ?>
<?php include $this->getTemplate() ?>
<?php echo 'Generic footer' ?>
Mar 08, 2007

"But I guess what I'm trying to say is that this is my design strategy, not Zend_View's nor Zend_Controller_Action's, and I think that allowing Zend_Controller_Action more responsibility in making those choices would be a poor design decision."

I will second this.

Although I can see the convenience of the shortcuts offered by this proposal, I dislike the degree of "magic" pre-integrated (perhaps simply a matter of personal taste). I would prefer this functionality remained the pervue of the developer, who is free to add this (or alternatives) in userland. Yes, I can simply ignore the new methods, but some overhead is still there , and I don't the changes proposed above helping provide a clean solution to the problem below:

I also prefer the more classical style of MVC, where a ZF action controller can delegate to sub-controllers, and then assemble the results as they come back, passing the final result to its parent controller, and so on, with ZF views making up the "leaf" nodes. In classical MVC, events help coordinate between updates to the model and updates to views. Since this is a web environment, events can be processed until activity subsides. So what does this all mean? Well, I wish for a clean way to assemble views resulting from multiple actions, and keep track of which fragments belong to which logical views (e.g. the "friends online box" vs. the "recent posts box" on my personalized portal page). Currently, the parameters set from the front controller are shared with all actions dispatched, unless manually added or removed by the actions.

As a workaround, I have suggested the idea of named segments in the response:
http://framework.zend.com/issues/browse/ZF-1024

Mar 09, 2007

To me, the problem is standardisation for the most common case. Yes everyone can roll their own code, but if they do, then I can't use someone else's module without reworking their controller-to-view code to match my way of doing it.

Providing a standardised way of rendering the view from controller will make it more likely that third party ZF modules will exist and be used by people.

Mar 08, 2007

I think both the render function and easy access to a view object is a good idea.

I, like many others, have implemented my own solution to this problem. My render method does exactly the same as yours.

I also have a renderIn() method that renders the current action into a variable, adds this to the view and renders a predefined layout template, where the action content can be inserted from a predefined variable name.

The most important: For easy access to the view script i have made a magic __get method that returns objects from the static registry. I find that this works rather good, as it gives me convenient access to both my config, db and view objects from my action controllers where they are used often.

I know that there are currently very active discussions about the registry, but it looks like a static version of it will remain in some form.

Just my ideas.

All in all, a very good proposal

Mar 09, 2007
<ac:macro ac:name="note"><ac:parameter ac:name="title">"Official Zend Comment"</ac:parameter><ac:rich-text-body>

This enhancement is approved for development in the incubator. You may also do the implementation in the core directory, in a svn branch off of the trunk.

The value of View integration and mapping to filesystems represents a popular idiom in web development, and it adds value to Zend Framework to support this kind of mechanism. Though it's very nice that the behavior is optional and it is easy to use the MVC without this style of View integration.

The issue of layouts / composite views, etc. is clearly an important one, but this proposal does not appear to be intended to address it. That topic should be addressed in a different proposal. One problem at a time. <ac:emoticon ac:name="smile" />
</ac:rich-text-body></ac:macro>
Mar 24, 2007

I think it is easy to do by using Zend_Controller_Front_Plugin_* capabilities. In my opinion this should be a proper way of integrating Zend Framework components.

Developers should take that under their consideration.

 Cheers, Alan "LBO" Bem