Feedback makes the open source world go round ;).

The HTML looks cleaner now. I'm still seeing quirks mode (missing Doctype) but 
I understand this isn't a massive concern so early on in the example. Your 
approach is working quite well as far as I can see.

P.
 
Pádraic Brady
http://blog.astrumfutura.com
http://www.patternsforphp.com


----- Original Message ----
From: Stephan Stapel <[EMAIL PROTECTED]>
To: Zend Framework <[email protected]>
Sent: Tuesday, April 24, 2007 6:26:46 AM
Subject: Re: [fw-general] Implementing complex Views with ZF

Hi!

> Manipulating the DOM is an interesting way of doing this since with 
> xhtml we are moving closer to cleaner xml. However when I view the 
> source of those pages it seems to be a bit of an invalid jumble, eg:

DOM parsing probably is the safest way to modify all ahrefs and 
formactions. But you are right, there's a bug in the code that makes 
<html> and <body> appear multiple times:

> <html>
> <head>
>     <title>Form example</title>
>     <link rel="stylesheet" type="text/css" media="screen" 
> href="/portaltest/public/styles/default.css" />
> </head>
> <body>
 >
 > [...]

> <td width="100%">
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" 
> "http://www.w3.org/TR/REC-html40/loose.dtd";;>
> <html><body><div id="content">

Should be quite easy to clean this up so that <html> and <body> tags of 
the embedded portlets are removed. Did you refer to that?

As mentioned earlier, my classes are not perfect but rather a concept to 
implement "complex views" or portals. So I'm really happy about this 
feedback!

Regards,

Stephan






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to