Today: use layers to decouple
It made me laugh :-)
Alexandre
hahahha The problem is that people does NOT understand that normally we change vertically, not horizontally. It is faaaaar more common refactoring model classes than changing the UI framwork or database. I remember once when I was working, and we needed to add a new attribute to the User "object". When the project leader asked me how many time I needed to spend to do it, I say one week (ok, it was less, but it doesnt matter here hahaha). And he asked me why,...my answer was that I needed to modify:
- The "bussiness" object User. - User.hbm.xml or annotations mappings. - DAOUser - IDAOUser - IUserService - UserServiceImpl - UI forms - WEbservices - USER table in database
:)
On Thu, Mar 3, 2011 at 2:12 PM, Alexandre Bergel alexandre.bergel@me.comwrote:
Today: use layers to decouple
It made me laugh :-)
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
lol
On Mar 3, 2011, at 2:26 PM, Mariano Martinez Peck wrote:
hahahha The problem is that people does NOT understand that normally we change vertically, not horizontally. It is faaaaar more common refactoring model classes than changing the UI framwork or database. I remember once when I was working, and we needed to add a new attribute to the User "object". When the project leader asked me how many time I needed to spend to do it, I say one week (ok, it was less, but it doesnt matter here hahaha). And he asked me why,...my answer was that I needed to modify:
- The "bussiness" object User.
- User.hbm.xml or annotations mappings.
- DAOUser
- IDAOUser
- IUserService
- UserServiceImpl
- UI forms
- WEbservices
- USER table in database
:)
On Thu, Mar 3, 2011 at 2:12 PM, Alexandre Bergel alexandre.bergel@me.com wrote: Today: use layers to decouple
It made me laugh :-)
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
he, once we created a "TooManyLayersException" :)
El 03/03/2011, a las 4:02p.m., Stéphane Ducasse escribió:
lol
On Mar 3, 2011, at 2:26 PM, Mariano Martinez Peck wrote:
hahahha The problem is that people does NOT understand that normally we change vertically, not horizontally. It is faaaaar more common refactoring model classes than changing the UI framwork or database. I remember once when I was working, and we needed to add a new attribute to the User "object". When the project leader asked me how many time I needed to spend to do it, I say one week (ok, it was less, but it doesnt matter here hahaha). And he asked me why,...my answer was that I needed to modify:
- The "bussiness" object User.
- User.hbm.xml or annotations mappings.
- DAOUser
- IDAOUser
- IUserService
- UserServiceImpl
- UI forms
- WEbservices
- USER table in database
:)
On Thu, Mar 3, 2011 at 2:12 PM, Alexandre Bergel alexandre.bergel@me.com wrote: Today: use layers to decouple
It made me laugh :-)
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
xD
On Thu, Mar 3, 2011 at 4:21 PM, Esteban Lorenzano estebanlm@gmail.comwrote:
he, once we created a "TooManyLayersException" :)
El 03/03/2011, a las 4:02p.m., Stéphane Ducasse escribió:
lol
On Mar 3, 2011, at 2:26 PM, Mariano Martinez Peck wrote:
hahahha The problem is that people does NOT understand that normally we
change vertically, not horizontally. It is faaaaar more common refactoring model classes than changing the UI framwork or database. I remember once when I was working, and we needed to add a new attribute to the User "object". When the project leader asked me how many time I needed to spend to do it, I say one week (ok, it was less, but it doesnt matter here hahaha). And he asked me why,...my answer was that I needed to modify:
- The "bussiness" object User.
- User.hbm.xml or annotations mappings.
- DAOUser
- IDAOUser
- IUserService
- UserServiceImpl
- UI forms
- WEbservices
- USER table in database
:)
On Thu, Mar 3, 2011 at 2:12 PM, Alexandre Bergel <
alexandre.bergel@me.com> wrote:
Today: use layers to decouple
It made me laugh :-)
Alexandre
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev