 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bryan Crotaz Guest
|
Posted: Fri Mar 09, 2007 7:26 am Post subject: Frameworks |
|
|
As most of you know I'm a great advocate of ECO. However there are many
other frameworks around. I've been wondering why anyone would want/need to
develop their own framework (beyond the learning experience) with all this
choice around.
Extending that thought, how about a discussion here of the pros and cons of
each framework with the aim of writing a document that newbies could be
directed to. Maybe it could show which framework is suited best to each
type of job, or at least the types of system that each framework is good/bad
for?
Bryan |
|
| Back to top |
|
 |
Craig Guest
|
Posted: Fri Mar 09, 2007 8:19 am Post subject: Re: Frameworks |
|
|
| Quote: | As most of you know I'm a great advocate of ECO. However there are many
other frameworks around. I've been wondering why anyone would want/need to
develop their own framework (beyond the learning experience) with all this
choice around.
|
There are two main reasons I have developed my own framework.
1. It is a really good learning experience. When doing a lot of web or
db apps there is a lot of high level code that is typically written.
Framework development really gets help learn some of the low level stuff.
2. Most commercial frameworks I have seen are too heavy. If I am writing
a web app that I want to be easily able to handle 10's thousands of
simultaneous users I want the framework to be lean and mean. I believe
in the XP rule of Simplicity. Do the simplest thing that could work.
Craig. |
|
| Back to top |
|
 |
Peter Morris Guest
|
Posted: Fri Mar 09, 2007 9:13 am Post subject: Re: Frameworks |
|
|
The only reason I wrote my own was because ECO didn't exist for VS2005 or
the Compact Framework, and my experience of XPO on CF was less than
satisfying.
--
Pete
Blessed are the geek, for they shall public class GeekEarth : Earth {}
====
Audio compression components, DIB graphics controls, ECO extensions,
FastStrings : http://www.droopyeyes.com
My blog : http://mrpmorris.blogspot.com |
|
| Back to top |
|
 |
Charles McAllister Guest
|
Posted: Fri Mar 09, 2007 9:20 pm Post subject: Re: Frameworks |
|
|
Bryan Crotaz wrote:
| Quote: | As most of you know I'm a great advocate of ECO. However there are many
other frameworks around. I've been wondering why anyone would want/need to
develop their own framework (beyond the learning experience) with all this
choice around.
|
since our flagship product was built on a proprietary database, i decided it would be best to write my own framework and persistence mapper. i had looked at using Bold, but given that it didn't come with full source code, i didnt think i could make it work with our database.
now we can support our proprietary database while offering a sql option for those that need it.
so i've got two versions of the persistence mapper, one for the proprietary database, and one for sql.
currently, the mapper gets loaded as a runtime package, so there's just one exe to maintain.
there are a lot of advantages to rolling your own framework:
-- maintainability. if there's a bug in the framework, you tend to know where it is and how to fix it.
-- personalization. your framework is built for you, with your own needs in mind. for example, some people like APerson.Save, some like APersistence.Save(APerson). in my case, i needed an entirely custom persistence mapper.
-- productivity. this one is debatable. even though it takes a lot of time to write your own framework, it would also take time to learn and implement another vendor's framework. some frameworks have a steep learning curve. since you're writing your own, you know how it works and how to get stuff done. but, productivity benefits won't happen until later in the development cycle. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|