Re: [css3-grid-align] -- proposed new grid layout module

?It seems you kinda solved the char range problem with your numbered slots. 
Well thought. Still, it's pretty difficult to modify the layout dynamicly 
due to the complexity of the template string parsing (see later in this 
mail).

BTW, when I spoke about 'grid' implementation, I wasn't speaking about CSS. 
I was thinking to WPF/Silverlight [1], Java [2], and similar UI builders.

As for the 'why would you use grid and not a table' question, I think the 
application is immediate. Imagine you would like to build an Excel Web App, 
you don't want to define a 80000*10000 table, even with a script. With a 
Grid layout, you can only fill the cells which are non-empty. I don't think 
you can with the template proposal (you still need a pretty huge template 
definition).

Also, with the Grid proposal, it's easy to merge two cells (you just need to 
take one cell and set 'grid-row-span' to 2). With a template, you would need 
to parse your entire template string, make the right adjustement and then 
have the browser reparse your string entirely.

To conclude, I don't say the template proposal is not usable, but I argue 
it's only suitable for case where the number of elements is relatively 
small, and not likely to change.

Regards,
François

[1] http://wpftutorial.net/GridLayout.html
[2] 
http://download.oracle.com/javase/1.4.2/docs/api/java/awt/GridLayout.html 

Received on Monday, 1 November 2010 10:12:15 UTC