The view layer in web app frameworks is broken, and here’s why.
Comments
Each time I see your picture, it reminds me of Charly Sheen.
sleeptillseven —
How does Pakyow really separate the logic from the views?
Maybe I am missing something, but it seems that you’re still ‘templating’ using the itemProp attribute.
pslick —
@pslick: Putting itemprops in the view doesn’t add logic, it simply adds more definition to the structure about what data it’s a structure around. Data binding, view repeating, etc all happens from outside of the view (see sections 8.1 and 8.3 in the manual for more information).
bryanp —
Bryan,
Yup - I misunderstood what itemprops was - didn’t know it was HTML5 spec.
Comments
Each time I see your picture, it reminds me of Charly Sheen.
How does Pakyow really separate the logic from the views?
Maybe I am missing something, but it seems that you’re still ‘templating’ using the itemProp attribute.
@pslick: Putting itemprops in the view doesn’t add logic, it simply adds more definition to the structure about what data it’s a structure around. Data binding, view repeating, etc all happens from outside of the view (see sections 8.1 and 8.3 in the manual for more information).
Bryan,
Yup - I misunderstood what itemprops was - didn’t know it was HTML5 spec.
Cool stuff.
Post a comment