Re:Fuel - A simple and flexible PHP Web Framework
by ibernat on Sunday April 10, 2011 @03:09AM
(#2429069)
What put me off is the useless Html class. You have a method named H which produces the H(1,2,3..) tag. How is this useful in any way?
[ Parent
| on HN ]
Re:Fuel - A simple and flexible PHP Web Framework
by philsturgeon on Sunday April 10, 2011 @05:35AM
(#2429230)
This was ported over from CodeIgniter which has a few crazy Hellers for this sort of thing. I wrote an article explaining the benefits:
http://philsturgeon.co.uk/blog/2009/12/Why-CodeIgniter-HTML-...
Remember though, that class won't be loaded unless you want it.
Re:Fuel - A simple and flexible PHP Web Framework
by jschreuder on Sunday April 10, 2011 @10:50AM
(#2429554)
Sorry Phil, going to correct you a little bit here ;-) It actually wasn't ported over. It was written by Alfie and I did a big rewrite on it before committing.
Re:Fuel - A simple and flexible PHP Web Framework
by philsturgeon on Sunday April 10, 2011 @08:36PM
(#2430858)
Right you are, but Alfie based this almost directly on CI. You recoded some of it, but the initial purpose and feeling of the class remains as essentially a copy of the CodeIniter Helpers. The sort of thing that is so similar it was just easier to call a port. :)