CI View

Software Screenshot:
CI View
Software Details:
Version: 0.1.2
Upload Date: 5 Jun 15
Developer: Braden Schaeffer
Distribution Type: Freeware
Downloads: 35
Size: 12 Kb

Rating: 2.0/5 (Total Votes: 2)

Opposed to CodeIgniter's native "all or nothing" caching mechanism, this library manages views and their CSS & JavaScript assets, and caching these views dynamically.

Features:

  • It's unobtrusive. This library overrides no CodeIgniter functionality. We load our cache files after CI attempts to load the ones it has created, and we send output using the CI's own Output class, meaning all your existing output configurations are left untouched.
  • It's familiar, but better. The functionality works exactly as you would expect native CI functions to work. Loading views works the same and view data is available in the same way, plus, I've added some methods that enable easier view and asset management. The only thing you have to learn is the names of a few new methods.
  • Dynamic caching. The key to this library, and the reason I wrote it, is it's dynamic caching. Sometimes, caching the entire view doesn't make sense, but neither does not caching it. What if you don't want to serve the same header to users who are logged in that you would to users who aren't? Well now you don't have to. Check out some examples in our usage guide or visit the config wiki for more info.
  • Management. Easily manage the inclusion of javascript and css files dynamically from your controller. These items, as well as your page title, can be set using simple function calls and the data is made available to your views just as you'd expect.

What is new in this release:

  • Features:
  • We now check that other js files/plugins are queued before loading any js libraries
  • Enabled ability to return an empty string from header/footer hooks
  • Enabled ability to pass a view as a string (useful for parsing view before you load them)
  • Backend:
  • Fixed bug that prevented the cached header data from loading
  • Changed the autoload config names for javascript files

Similar Software

Comments to CI View

Comments not found
Add Comment
Turn on images!