SmileX, sunrise und Quafzi waren mit dabei und auch wenn es nun schon recht spät ist:
Hier meine Mitschriften zum Day 2009 in Köln.
Meinen kurzen Roundup-Artikel findet ihr unter SymfonyDay2009Roundup.
Sessions
Jonathan H. Wage - Symfony 1.3 + Doctrine 1.2
- Neuer Installer: Mit Parameter --installer, Tasks ausführen, Fragen stellen, und und und
- Form Framework: useFields() anstatt removeFields()
- Events: Connect Events to formFilter() methods _Public Property_ zum setzen von reCaptcha -> Beispiel
Tests
- Test Output jetzt JUnit kompatibel
- Option -t zum Output von Stack Traces beim Testen aller Tests
- checkForm im Browser zum Testen ob alle Formfelder reingerendert wurden
- Option "--only-failed"
CLI Tasks
- $this->askAndValidate() - liest User-Input ein
- Model-Generierung: Für bestimmte Models abstellen
Doctrine
- Delete Model Files: doctrine:delete-model-files Macht Model-Verzeichnis sauber
- Komplexere Build-Tasks: --and-build & foo & bar
- Tabellen-Output aus dem doctrine:dql Output -> MySQL-like.
- Doctrine_Query extenden, das Gleiche auch mit Doctrine_Collection
- Using Custom Hydrators
- Using Custom Connection Classes
- Improve Save Performce -> dem Manager die Save-Methode übergeben (z.Bsp. Cron-Jobs / Sonst Cascading Deletes)
- Komplexere Queries mit den Findern möglich
- _Doctrine Extensions Repository_ - spezielles Repo für Extensions
Bernhard Schussek - Best Practice Testing with Lime 2
Write Tests, Test Frequently! Have an eye on Performance, Reliability, ReadabilityHow to Write testable code
Test-Case: Cukeet: Web 3.0 Receipt-SharingGoals
"Leave the room how you entered it"
"Make it obvious what you are testing"
Fixtures:"Make it obvious what you are testing"
- Global Fixture vs. Fresh Fixture
- Test Isolation -> Annotations oder Test Cases im xUnit Stil von setup() oder teardown()
Functional Tests vs. Unit Tests
- Unit Tests
- _Acceptence Tests_, _Integration Tests_
- test the system as a whole
- Collaboration between classes/components
Testing Strategies
- Faster Using SQLITE::MEMORY Databases
- Creation and Helper Functions
- Test Isolation
- Stubs, Mocks
SymfonyKonferenzen
There are no comments on this page. [Add comment]