Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Implementing DoctrineExtensions-Taggable and FPNTagBundle
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tuck  
View profile  
 More options Jun 5 2012, 10:56 pm
From: tuck <me.dant...@gmail.com>
Date: Tue, 5 Jun 2012 19:56:34 -0700 (PDT)
Local: Tues, Jun 5 2012 10:56 pm
Subject: Implementing DoctrineExtensions-Taggable and FPNTagBundle
I am struggling to implement the final steps to get the
DoctrineExtensions-Taggable working. The documentation seems to be
partial which makes it hard for someone new to Symfony to get it
working. This is what I am supposed to do but don't know how to do
it...

Please help me understand where this code is supposed to go. I am
running Symfony2. Thank you.

Setup doctrine for register metadata directory and register
TagListener.

First, register the metadata directory of this package.

$config = new \Doctrine\ORM\Configuration();
// ...
$driverImpl = new \Doctrine\ORM\Mapping\Driver\XmlDriver(array('/path/
to/doctrine-extensions-taggable/metadata'));
$config->setMetadataDriverImpl($driverImpl);

Then, register the TagListener.

// $this->em = EntityManager::create($connection, $config);
// ...

$this->tagManager = new TagManager($this->em);
$this->em->getEventManager()->addEventSubscriber(new TagListener($this-


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christophe COEVOET  
View profile  
 More options Jun 6 2012, 3:26 am
From: Christophe COEVOET <s...@notk.org>
Date: Wed, 06 Jun 2012 09:26:46 +0200
Local: Wed, Jun 6 2012 3:26 am
Subject: Re: [Symfony2] Implementing DoctrineExtensions-Taggable and FPNTagBundle
Le 06/06/2012 04:56, tuck a crit :

Registering the event subscriber is done through the container:
http://symfony.com/doc/current/cookbook/doctrine/event_listeners_subs...
And registering the mapping is done in your configuration:
http://symfony.com/doc/current/reference/configuration/doctrine.html#...

--
Christophe | Stof


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Tucker  
View profile  
 More options Jun 6 2012, 7:19 pm
From: Daniel Tucker <me.dant...@gmail.com>
Date: Wed, 06 Jun 2012 17:19:22 -0600
Local: Wed, Jun 6 2012 7:19 pm
Subject: Re: [Symfony2] Implementing DoctrineExtensions-Taggable and FPNTagBundle

Thanks for the direction. I'll give it a try.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Christophe COEVOET <s...@notk.org> wrote:

Le 06/06/2012 04:56, tuck a écrit :

Registering the event subscriber is done through the container:
http://symfony.com/doc/current/cookbook/doctrine/event_listeners_subs...
And registering the mapping is done in your configuration:
http://symfony.com/doc/current/reference/configuration/doctrine.html#...

--
Christophe | Stof

--
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 "Symfony2" group.
To post to this group, send email to symfony2@googlegroups.com
To unsubscribe from this group, send email to
symfony2+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Tucker  
View profile  
 More options Jun 13 2012, 11:07 pm
From: Daniel Tucker <me.dant...@gmail.com>
Date: Wed, 13 Jun 2012 20:07:36 -0700 (PDT)
Local: Wed, Jun 13 2012 11:07 pm
Subject: Re: Implementing DoctrineExtensions-Taggable and FPNTagBundle

Everything worked perfectly as you suggested. Thank you!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Basic Symfony2 Deployment" by Chris Banford
Chris Banford  
View profile  
 More options Jun 14 2012, 6:46 am
From: Chris Banford <ch...@swisspasses.com>
Date: Thu, 14 Jun 2012 12:46:39 +0200
Local: Thurs, Jun 14 2012 6:46 am
Subject: Basic Symfony2 Deployment

Hi list,

Firstly, let me apologise for such a lengthy post!
That said, any thoughts & feedback would be greatly appreciated and if
it seems like a good idea I'd be happy to write up a blog entry with the
infos gathered -- quite a few other beginners seem to similarly get
stuck on this aspect of starting off with Symfony2. :-)

As part of my first real Symfony2 project, I'm researching how to best
deploy an app from my Dev server (Ubuntu server 12.04 in VirtualBox) to
Staging and Production servers.

/My question is:/
*What must be done to manually sync a Development Symfony2 app to a live
server?*
(see the more detailed version below)

/A bit of background:/
I've installed & tried/tested using the following:

  * git
  * Capifony
  * DeployBundle(s)
  * Command Line w/ rsync + ssh

I found deploying with *git *(not really a deployment solution) or
*Capifony *(opaque, not great docs & don't really want to learn Ruby) to
offer the most power, but I want to have a solid grasp of what's going
on at a fundamental level before adding more complexity into the mix.
/Simplicity and Understandability/ are my initial goals.

The DeployBundles I've looked at all seem to be wrappers around using
rsync/ssh.

So I'd like to just use rsync and ssh commands directly to manage my
deployment and when all is working reliably and I have a clue as to what
I'm doing, then possibly wrap them in some handy scripts.

/Detailed question:/
*What specific things must be done to push a Symfony2 project to a live
server?*

The base point for my Deployment would be a working app in the Prod env
on the Dev server, with Vendors updated, Cache Cleared, Assetic assets
dumped, commited & pushed to github, and the build passing tests, etc.
on my Jenkins CI server. I will then sync to a Staging server where the
customer can sign off on changes before creating a new
master-branch-release-tag in git and then syncing that to the Live server.

This is what I've got so far:

  * *rsync *the Dev project to the Staging/Live server
      o use ssh, compression
      o delete non-matching files on target
      o ignore-files: app/config/parameters.ini
      o ignore-dirs: app/logs/*
  * Set permissions on *app/cache/* & *app/logs/* (as per Symfony2 docs
    set-up instructions
    <http://symfony.com/doc/current/book/installation.html>)

Are the following required? As all the files are being sync'd from a
working Prod env on the Dev server, do these need to be run on the Live
box as well, or is using the already created set of files from Dev enough?

  * Clear Symfony2's Cache
  * Dump Assetic assets

And finally, what, if anything, do I need to specifically manage for
db/Doctrine?

  * Doctrine ?

Ideally, there would be as few changes happening as possible on the
Stage/Live servers. Every time a command needs to be run (clear cache,
dump assets, etc) the chance of something breaking are higher. Also the
more that needs to be set-up & run on the target server, the more
difficult it is to use managed or shared hosting...

Any ideas?

Anything else I'm missing or is required for a reliable deploy with
Symfony2??

Tips and/or Gotchas???

Thanks for the time/effort required to answer to this! :-)

Cheers,
-Chris

--

*******************
Chris Banford
ch...@swisspasses.com
www.swisspasses.com
Zermatt, Switzerland
*******************


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Implementing DoctrineExtensions-Taggable and FPNTagBundle" by Simon Fakir
Simon Fakir  
View profile  
 More options Aug 6 2012, 7:44 am
From: Simon Fakir <simonfa...@googlemail.com>
Date: Mon, 6 Aug 2012 04:44:22 -0700 (PDT)
Local: Mon, Aug 6 2012 7:44 am
Subject: Re: Implementing DoctrineExtensions-Taggable and FPNTagBundle


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »