Closed GoogleCodeExporter closed 9 years ago
Thanks for your feedback. I'd enjoy seeing what you've put together. Please
feel free to attach your code within this issue tracker.
- Andrew
Original comment by ajporterfield@gmail.com
on 6 Mar 2011 at 7:05
The biggest problem I had with the implementation is the inability for the
class code to live outside of the document root. Additionally, I wanted to use
Smarty for rendering the CSS and JS code. I removed as much of the inline
html/css/js as possible. I wanted to make sure the users of my CMS had the
ability to modify the visual aspects of the form in CSS only.
You'll notice in each function I'm pushing all tag info to a class 'form meta'
array. Currently, this does absolutely nothing and I'm considering removing it
entirely. The reason I stuck it in was to have the ability to write a smarty
plugin that renders the form base based on the form meta array instead of
trying to traverse the DOMDocument in template code.
I'm still struggling with the js and css bits (I have extremely limited js
experience). Currently I'm passing css and js info in _SESSION like you, but
I'd like to remove the dependency on sessions as well. I'm just not sure if
absolutely has to be that, I noticed in your comments somewhere you wrote that
the js include has to be asynchronous because of the xhtml spec or something. I
haven't quite figured it out.
Let me know if you have any questions or comments.
Original comment by lordny...@gmail.com
on 6 Mar 2011 at 11:57
Attachments:
Original comment by ajporterfield@gmail.com
on 14 Mar 2011 at 3:13
Original issue reported on code.google.com by
lordny...@gmail.com
on 6 Mar 2011 at 2:32