This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> php app/console doctrine:mapping:import "バンドル" annotation [--em=エンティティマネジャ名,省略時default] [--filter="対象となるテーブル指定"] | |
エンティティクラスが生成される。 | |
> php app/console doctrine:generate:entities Tvg/Review/WebBundle/Entity/Purchase | |
setter, getterが生成される。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters: | |
euphory.exceptlistener.class: Euphory\StoreBundle\Event\WebExceptionListener | |
services: | |
euphory.exceptlistener: | |
class: %euphory.exceptlistener.class% | |
arguments: [@mailer,@templating,@logger] | |
tags: | |
- { name: kernel.event_listener, event: kernel.exception, method: onKernelException, priority: 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
euphory_storebundle.listener.comment: | |
class: Euphory\StoreBundle\Event\CommentListener | |
arguments: [@logger] | |
tags: | |
- { name: kernel.event_listener, event: euphory_storebundle.post.comment, method: onCommentEvent } | |
- { name: kernel.event_listener, event: euphory_storebundle.post.remove, method: onRemoveEvent } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH=$HOME/usr/local/bin:$PATH | |
export PERL5LIB=$HOME/usr/local/share/perl5 | |
perl Makefile.PL PREFIX=$HOME/usr/local | |
make | |
make test | |
make install | |
mkdir -p ~/opt/mysql | |
cd ~/opt/mysql | |
wget http://download.softagency.net/mysql/Downloads/MySQL-5.5/mysql-5.5.30-linux2.6-x86_64.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php ./vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php | |
app/bootstrap.php.cacheが生成される。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service_with_session: | |
class: Euphory\Bundle\StoreBundle\ServiceWithSession | |
calls: | |
- [ setSession, [ @session ] ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
euphory_store: | |
resource: "@EuphoryStoreBundle/Resources/config/routing.yml" | |
prefix: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Euphory\StoreBundle\Controller; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; | |
use FOS\RestBundle\View\View; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Eclipse JUNO Classic ダウンロード | |
http://www.eclipse.org/downloads/packages/eclipse-classic-421/junosr1 | |
2. PDTのインストール | |
http://eclipse.org/pdt/release-notes/3.1.1/ | |
http://www.cyber-funnel.com/eclipse/index1444.html | |
http://symfony.dubture.com/ | |
http://p2-dev.pdt-extensions.org/index.html | |
==== | |
Help->Install New Software->Work With: "http://download.eclipse.org/tools/pdt/updates/nightly/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
\Swift::init(function () { | |
\Swift_DependencyContainer::getInstance() | |
->register('mime.qpheaderencoder') | |
->asAliasOf('mime.base64headerencoder'); | |
\Swift_Preferences::getInstance()->setCharset('iso-2022-jp'); | |
}); | |
$message = \Swift_Message::newInstance() | |
->setSubject('長めの日本語サブジェクトを送信した場合の挙動の確認をおこなう') |
NewerOlder