Skip to content

Php5 magic Autoloader

World Wide Web Server edited this page Jul 4, 2012 · 21 revisions

[h2]Plugin Introduction[/h2]

[b]Advantages:[/b]

  • [color=red]Get Everything Everywhere[/color]: No more get_instance() for use CI inside model, library, helper, or view
  • [color=red]Lazy-load support[/color]: No more $this->load->something(). Resources automatically loads (only first time, only if needed)
  • [color=red]100% Back\Forward CI Compatibility[/color]: All the logic work delegated to standard CI Core
  • [color=red]More concise syntax[/color]: Faster code typing style, better read style that make more sense. Bye bye $this->
  • [color=red]Non-obtrusive[/color]: If you wish, you can switch syntax modes, or even use them both. No refactor needed for "pre-plugin" code
  • [color=red]No core hacking is required[/color]: Simply download and load it just like any other plugin.

[b]Requirements:[/b]

  • CodeIgniter 1.5+
  • PHP5+

[b]Installation:[/b] This is a plugin so no core hacking is required. Simply [url="http://codeigniter.com/forums/viewthread/134786/"]download[/url], extract it into your [b]application/plugins[/b] folder. (auto)Load it just like any other plugin.

[b]Version 1.2 Changelog:[/b]

  • Added Support Codeigniter <= 1.7.3
  • Added Plugins()
  • Added Configs()
  • Added Vars()
  • Added Helpers()
  • Lightweight coding style.
  • All logic work delegated to CI Core for compatibility propose
  • Added support for ALL original functions params ($this->load->xxx('name', 'args1', 'args2'))
  • Renamed "Libs" in "Libraries" (a little longer, but reading style come first!).

[b]Version 1.3 Changelog:[/b]

  • Added more controls for downsize overhead
  • Added Php5 Helpers Mode :)
  • Added Plugin suffix

[b]Version 1.4 Changelog: (downloads 8)[/b]

  • Added Langs()
  • Added Modularity for Configs, Helpers, Langs (es. Configs('rss')->line('ip');)
  • Libraries re-renamed in "Libs" by popular acclaim (lol)
  • Added more and more and more controls for downsize overhead
  • Better Docs

[b]Version 1.5 Changelog:[/b]

  • Added Libs('uri')-
Clone this wiki locally