-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML Helper #209
Comments
|
If we do that, we also need a That said - I could potentially see it as a before/after filter that checks the file datetime and auto-creates tag busters on the way out, and interprets them on the way in... but that sounds pretty involved also. Probably best to leave for whatever front-end solution people use, like gulp, which Elixir is a front-end for.
The nice thing about writing the framework is it doesn't have to be a helper anymore, we can always call it a library and it's all good. :) Seriously, though, my thought was that this and the Form builder would both be static classes, making it so they didn't have to be autoloaded, but have since recently realized that would be ugly as all get out, since you'd have to use the full namespace every time. So, yes, back to procedural. |
All good. Best to leave these as front-end and procedural. However, if there are plans moving from procedural to OOP some time in the future for helpers, perhaps There's no need to create a separate |
I can work on this. |
Sounds good. I'll mark it as in progress. Thanks! |
Thanks. I wouldn't recommend adding convenience to table items such as header and cells. It only adds complications and confusion instead of making things simple. Imagine adding attributes such as class, id or data http://icecream.me/3dadb3eeae7e88309d7bbedbe50345b3 and http://icecream.me/c6bc70d58ae4f159e6b27515e8e5f0d4. |
* new function script_js that just sourcered a tag with embebed one * addressed at codeigniter4/CodeIgniter4#209 (comment) * backported from codeigniter4/CodeIgniter4@caf9f23 * solves the original idea of PR bcit-ci/CodeIgniter#2335
Port the current HTML helper over from CI3, with the following exceptions:
Which primarily leaves us with the list building tools. Should this be combined with something else?
Maybe add:
This probably makes sense to implement as a class with static methods.
Development Checklist:
The text was updated successfully, but these errors were encountered: