CodeIgniter Forums
CI "must haves" - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: CI "must haves" (/showthread.php?tid=36058)

Pages: 1 2


CI "must haves" - El Forum - 11-19-2010

[eluser]Kindari[/eluser]
I was just wondering for all of you senior CI people, do you have any must haves? Libraries and helpers you first include with a fresh CI install?

What are the most useful snip its you use?

So far I have been constantly using Dwoo and the cURL for CI library.


CI "must haves" - El Forum - 11-19-2010

[eluser]mikelexp[/eluser]
I'm not an experienced CI programmer, but I've evaluated many different libraries and here's my must have list:

Auth: Ion Auth
https://github.com/benedmunds/CodeIgniter-Ion-Auth

ORM: DataMapper ORM
http://datamapper.exitecms.org

Error handling and debug: Dan Horrigan's UhOh!
http://github.com/dhorrigan/codeigniter-uhoh

Query string support: Dan Horrigan's Query String
https://github.com/dhorrigan/codeigniter-query-string

Templates: Colin William's Template Class (I don't know if this project is alive, but it works great even with CI 2.0)
http://williamsconcepts.com/ci/codeigniter/libraries/template/

I automatically include all these libraries in every new CI project.


CI "must haves" - El Forum - 11-20-2010

[eluser]nuwanda[/eluser]
I don't want to piss in the pool, but I think the last thing beginners need to worry about is what add on libraries they need. CI is advanced simplicity. Learn php and then learn CI.


CI "must haves" - El Forum - 11-20-2010

[eluser]Kindari[/eluser]
I know php and I know CI - at least all the core classes.

As I like the DRY principle, I like to know what other (useful) libraries are out there, thus why I asked this question. Example is I never heard about the query string library or that particular template class, both of which I'm about to look at to see if I feel they are useful.

Instead of assuming everyone with a low post count is a beginner and wanting to take the easy way out, you could answer the original question if your going to bother posting in a topic.


CI "must haves" - El Forum - 11-20-2010

[eluser]Narkboy[/eluser]
Everything that's not out-of-the-box CI that I need I've written myself.

The only thing that is 'always' included in my auth lib. Aside from solid auth, there's very little that CI can't do. I'd probably not use a CI auth module in any case!

This is why I use and love CI - copy paste a clean 2.0 folder set, change about 5 lines of config and off you go!

/B


CI "must haves" - El Forum - 11-21-2010

[eluser]pbreit[/eluser]
I try to use CodeIgniter as-is. I use Ion Auth since user accounts are almost always necessary. And querystring support is a must-have.


CI "must haves" - El Forum - 11-21-2010

[eluser]Kindari[/eluser]
So far I have not found myself needing query string support, standard CI segments work just fine for me.

In what situations do you find Query strings to be needed?


CI "must haves" - El Forum - 11-21-2010

[eluser]pbreit[/eluser]
Any type of search. Or if any of your apps have any sort of reporting or lists of items that you want to search or filter. And then there are quite a few integrations that require querystrings like PayPal, Oauth, etc.


CI "must haves" - El Forum - 11-22-2010

[eluser]Narkboy[/eluser]
[quote author="pbreit" date="1290420125"]Any type of search. Or if any of your apps have any sort of reporting or lists of items that you want to search or filter. And then there are quite a few integrations that require querystrings like PayPal, Oauth, etc.[/quote]

I use POST for search terms, rather than GET via query strings. Works better and it also means that people cannot bookmark search results, which is good in most sites I use.

3rd patry libs do need qs though. Pain as it is!


CI "must haves" - El Forum - 11-22-2010

[eluser]pbreit[/eluser]
Why would you want to prevent people from bookmarking (or emailing) search results? That doesn't seem very smart.