Hello
I was starting a project with symfony 1.4 but in the meantime symfony2 gone 
beta. My project is still in very early development so I'm evaluating to 
start over with Symfony2, which I'd have to do anyway at some point.

I have some scripts which used the symfony 1.4 infrastructure but not the 
event dispatcher (don't need it): I use them to extract data from some web 
page and import into database.

To make it work I used the well known trick:


    require_once(dirname(__FILE__) . 
'/../../config/ProjectConfiguration.class.php');

    $configuration = 
ProjectConfiguration::getApplicationConfiguration('batch', 'dev', true);
    $context = sfContext::createInstance($configuration);
    
    // Initialize Doctrine
    new sfDatabaseManager($configuration);

(I generated a "batch" application).

I tried to figure out if it's possible to do the same with Symfony2 reading 
the book, but I cannot understand.

Is it still possible? Can someone help me or point me to an example or doc?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to