Welcome Guest, Not a member yet? Register   Sign In
Is the Cart.php library a sign that more libraries are coming?
#34

[eluser]Phil Sturgeon[/eluser]
[quote author="Mat-Moo" date="1235019003"]A cart would be brill for a project I'm working on... although I find it odd that Auth is not important and Cart is?![/quote]

It may not be more important but it is more useful and has far less dependencies. I have made many auth libraries with different needs in different ways and not all of them apply to every site. Instead of overcomplicating life and making ONE AMAZING AUTH LIB I just keep all of them simple for their purpose.

This Cart library assumes nothing of your application structure, database structure, validation rules... it just doesn't care. It is good to have little tools like that that make application development more readable and clean, without forcing your structure or your flow in the slightest.

Thumbs up to libraries like Cart and thumbs down to official Auth library (even if it would make life "easier").


Messages In This Thread
Is the Cart.php library a sign that more libraries are coming? - by El Forum - 05-06-2009, 09:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB