R
Ryan
I was hoping some of you experts out there can give a newb some advice.
Let me first explain what i am doing.
I am starting a large project ( large to me, but again i have never
created a "real" application before so its probably small for some of
you ). For the time being it will be an internal project for my company,
but i may put it on the market once tested and proven. I am estimating
it will contain around 40-50 tables in MSQL database by the time im
done. For my data layer i have narrowed it down to two options. #1) Use
an or mapper, im specifically looking at llblgen pro. #2) Make my own
data layer creation script using codesmith.
Now there is a couple things to take into consideration. I have already
started work on a codesmith template, that can generate my entities,
typed collections and classes to persist the entities and collections to
the database. It actually works Although i still need to do more
extensive testing, it also generates the stored procedures for me. If
you look at the tracker sample app by infragistics, my templates produce
something VERY similar to their data layer except a bit more advanced.
I have done quite a bit of research on my options, and every sample app
i see, they create thier own simple data layer ( tracker, taskvision,
dotnetnuke). Is their a particular reason why none of them use an OR mapper?
I also would like to implement a logging mechanism, that will record who
updated what table and what time, this can be done easily with stored
procedures as i just modify my stored procedures templates. With llblgen
pro, i would have to implement this in business logic instead of making
it transparent. Unless, i could somehow override the save feature in
llblgen ( frans feel free to reply )
i have created a list of pro's and cons that i have come up with for both.
1.) Using my templates, i will have over 200+ stored procedures to
maintain, although they will be generated. LLBLGen doesnt suffer from
this, plus its filtering options are much better.
2.) My templates are not thoroughly tested and not used by many people,
as where llblgen has been tested and is used by many.
3.) By using my templates i have complete control over everything. But
it also will require more time to test etc...
4.) LLBLGen Pro is inexpensive and i am sure i will most likely have
over $210 in time still left to put in my templates to make them a bit
more robust. ( Then again maybe my tempaltes will do just fine for what
i need )
5.) My templates use my coding style, although i am sure if i jsut sat
down and forced myself to use another style, it would come naturally
quickly.
i guess i am asking you experienced developers to share some wisdom with
a non-experienced one. What is a better option for the long run? those
of you who use or mappers, what are your experiences? Does anyone use
LLBLGen Pro or another or mapper for a production applcation u can buy?
(ie. you sell to the public, not made for one specific company )
Thanks Ryan
Let me first explain what i am doing.
I am starting a large project ( large to me, but again i have never
created a "real" application before so its probably small for some of
you ). For the time being it will be an internal project for my company,
but i may put it on the market once tested and proven. I am estimating
it will contain around 40-50 tables in MSQL database by the time im
done. For my data layer i have narrowed it down to two options. #1) Use
an or mapper, im specifically looking at llblgen pro. #2) Make my own
data layer creation script using codesmith.
Now there is a couple things to take into consideration. I have already
started work on a codesmith template, that can generate my entities,
typed collections and classes to persist the entities and collections to
the database. It actually works Although i still need to do more
extensive testing, it also generates the stored procedures for me. If
you look at the tracker sample app by infragistics, my templates produce
something VERY similar to their data layer except a bit more advanced.
I have done quite a bit of research on my options, and every sample app
i see, they create thier own simple data layer ( tracker, taskvision,
dotnetnuke). Is their a particular reason why none of them use an OR mapper?
I also would like to implement a logging mechanism, that will record who
updated what table and what time, this can be done easily with stored
procedures as i just modify my stored procedures templates. With llblgen
pro, i would have to implement this in business logic instead of making
it transparent. Unless, i could somehow override the save feature in
llblgen ( frans feel free to reply )
i have created a list of pro's and cons that i have come up with for both.
1.) Using my templates, i will have over 200+ stored procedures to
maintain, although they will be generated. LLBLGen doesnt suffer from
this, plus its filtering options are much better.
2.) My templates are not thoroughly tested and not used by many people,
as where llblgen has been tested and is used by many.
3.) By using my templates i have complete control over everything. But
it also will require more time to test etc...
4.) LLBLGen Pro is inexpensive and i am sure i will most likely have
over $210 in time still left to put in my templates to make them a bit
more robust. ( Then again maybe my tempaltes will do just fine for what
i need )
5.) My templates use my coding style, although i am sure if i jsut sat
down and forced myself to use another style, it would come naturally
quickly.
i guess i am asking you experienced developers to share some wisdom with
a non-experienced one. What is a better option for the long run? those
of you who use or mappers, what are your experiences? Does anyone use
LLBLGen Pro or another or mapper for a production applcation u can buy?
(ie. you sell to the public, not made for one specific company )
Thanks Ryan