[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jfw] Re: Questions about Session package

I really like it.
The only thing I miss the the example use in a docblock :)

use Symfony\Component\HttpFoundation\Session\Session;
use Vscp\Session\JoomlaDbSessionHandler;

$session = new Session(new JoomlaDbSessionHandler($db, array()));

By the way, would you be interested in placing some of the classes on packagist?
I was thinking about setting a repo/ organisation similar to FriendsOfSymfony so our community would have central place for packages that don't belong into core.

On Saturday, March 15, 2014 2:29:54 PM UTC+1, Sven Versteegen wrote:
I just changed some things in my app to use the Symfony Session package and I like it, I would vote to delete the current Joomla Session package.
Maybe just replace it with some classes we can use with Symfony session, like a database handler what uses Joomla\Database\DatabaseDriver.
That said, you're invited to give that handler a test: JoomlaDbSessionHandler

Am Freitag, 14. März 2014 09:52:32 UTC+1 schrieb piotr_cz:
I'd say that the current Session packagage is not used by developers much, thus is somehow forgotten and still contains some legacy code.

I think we should reevaluate the pros of having own Session package in the framework, Symfony one is really good but (as most of Symfony packages) my be over-engineered, if someone like me likes to peek into the code and learn how things work under the hood.

Framework source code: https://github.com/joomla/joomla-framework
Visit http://developer.joomla.org for more information about developing with Joomla!
You received this message because you are subscribed to the Google Groups "Joomla! Framework Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-framework+unsubscribe AT googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-framework.