Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Desymfony 2011 - Habemus Bundles
Search
Albert Jessurum
July 07, 2011
Programming
23
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Desymfony 2011 - Habemus Bundles
Albert Jessurum
July 07, 2011
More Decks by Albert Jessurum
See All by Albert Jessurum
Symfony Components and its ecosystem
ajessu
0
76
deSymfony 2013 Consumiendo APIs REST con Guzzle y Symfony2
ajessu
0
37
deSymfony 2012 - El entorno de Symfony2
ajessu
0
28
Desymfony 2011 - Tutorial #6 Assetic y Test Unitarios
ajessu
0
28
Other Decks in Programming
See All in Programming
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
180
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
Next.js: The final boss of Web Performance
guaca
0
250
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
150
Domain-Driven Transformation
hschwentner
2
2.3k
AWSに止められる覚悟してますか?
morizo_1984
2
530
AmebaブログはKMPから卒業します
kmars0605
0
190
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
300
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Art, The Web, and Tiny UX
lynnandtonic
304
22k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Optimising Largest Contentful Paint
csswizardry
37
4k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
RailsConf 2023
tenderlove
30
1.6k
Technical Leadership for Architectural Decision Making
baasie
3
600
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Darren the Foodie - Storyboard
khoart
PRO
4
4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Transcript
None
None
None
None
None
None
None
None
None
None
None
None
None
None
cd vendor/bundles/ git clone https://github.com/Acme/DemoBundle.git
cd vendor/bundles git submodule add https://github.com/Acme/DemoBundle.git vendor/bundles/Acme/AcmeDemoBundle
[AcmeDemoBundle] git=https://github.com/acme/AcmeDemoBundle.git target=/bundles/Acme/AcmeDemoBundle php bin/vendors install
[AcmeDemoBundle] git=https://github.com/acme/AcmeDemoBundle.git target=/bundles/Acme/AcmeDemoBundle php bin/vendors install
None
// app/autoload.php use Symfony\Component\ClassLoader\UniversalClassLoader; $loader = new UniversalClassLoader(); $loader->registerNamespaces(array( ‘Acme'
=> __DIR__.'/../vendor/bundles', ));
// app/AppKernel.php public function registerBundles() { $bundles = array( new
Acme\DemoBundle\AcmeDemoBundle(), );
// app/config/config.yml acme_demo: foo: bar
None
None
None
None
None
None
None
/** * @Route("/blog") * @Cache(expires="tomorrow") */ class AnnotController extends Controller
{ /** * @Route("/") * @Template */ public function indexAction() { $posts = ...; return array('posts' => $posts); }
None
None
None
None
None
None
class MyService { /** * @Secure(roles="ROLE_USER, ROLE_FOO, ROLE_ADMIN") */ public
function secureMethod() { // ... }
None
None
None
None
None
None
php app/console doctrine:migrations:diff php app/console doctrine:migrations:execute php
app/console doctrine:migrations:generate php app/console doctrine:migrations:migrate php app/console doctrine:migrations:status php app/console doctrine:migrations:version
None
None
None
None
None
None
None
None
None
# app/config/routing.yml users: type: rest resource: Acme\HelloBundle\Controller\UsersController
None
None
None
None
None
# app/config/config.yml avalanche_imagine: filters: my_thumb: type: thumbnail options: { size:
[100, 100], mode: outbound }
{# twig #} <img src="{{ '/relative/path/to/image.jpg' | apply_filter('my_thumb') }}" />
<!– php --> <img src="<?php $this['imagine']->filter('/relative/path/to/image.jpg', 'my_thumb') ?>" />
None
None
None
public function testUserFooIndex() { $this-> loadFixtures(array('Liip\FooBundle\Tests\Fixtures\LoadUserData')); $client = $this->createClient(); $crawler
= $client->request('GET', '/users/foo'); $this->assertTrue( $crawler->filter('html:contains("Email:
[email protected]
")')->count() > 0 ); }
public function testBasicAuthentication() { $this-> loadFixtures(array('Liip\FooBundle\Tests\Fixtures\LoadUserData')); $content = $this->fetchContent('/users/foo', 'GET',
true); $this->assertEquals('Hello foo!', $content); }
None
Feature: Addition In order to avoid silly mistakes As a
math idiot I want to be told the sum of two numbers Scenario: Add two numbers Given I have entered 50 into the calculator And I have entered 70 into the calculator When I press add Then The result should be 120 on the screen
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None