Oredev ...
Dag 1
Ajax Tobias Fjälling, Blog Dotway AB
och
DDD Jimmy Nilsson mycket bra
Dag 2
Fowler (bliki) hàrd grab
- OO design saknas
- Patterns hyper är över nu är det sunt
- Ruby is comming
- Ruby on Rails
- Extreme programming börjar mogna
Bra programmerare levererar alltid mer jmf med Average programmers de kan bli mer effektiva men slãr aldrig the fast ones,...
Spring Adam Skogman
DAOORMAOPJEEWeb
* Newdao = new LdapPersonDai()
* Static Call LdapPersonDao.findPerson
* Singeltondao =
* InterfacePersonDao dao = LdapPersondDao()
* Factory MethodPersonDao dao = getPersondDao()
* Factory factory dao = getPersondDao()
* EJB3 & JNDI Hone home = (Home) new InitialCoontext() .lokkup("bbbbb") dao = home.create() * Service Locator
** Solution Dependency injectionlet someone inject the dependency (DI)
setPersonDao(PersonDao pd ){ this.pd = pd;}doStuff() { pd.findPerson
Think about the whole application how it should look
Sampel sping Contect file
* Design for DIImplementation to set up
PeopleServiceImp(MyDataSource)
* Template pattern
* Proxy pattern
* Exception Convertionhttp://www.rubyonrails.org/
No comments:
Post a Comment