views:

108

answers:

3

I am not trying to create yet another web framework.

For one of the applications I am working on, I want to create a custom framework. I don't want to use any already available framework.

What are the common things to consider?

What should be the architecture?

Thanks :)

+1  A: 

What are the common things to consider?
Purpose. Usually, when you start building a piece of software, you have a purpose in mind. What will it do that other programs can't?

If you can't answer that question, then take any existing open source framework, change its name and your job is done. Now you have your own framework.

Nikita Rybak
I didn't ask this question to know if I should rename some framework and use it.Do you ask such questions here?
Ashit Vora
A: 

Well if you are going to write a custom framework then I assume the framework needs to be tailored to your needs, otherwise you would use one that is already available. So figure out what your needs are and go from there ;)

What are the most often repeated operations in your application? Is there a division of labor that a framework could make more apparent?

mlaw
Well,It a database application (uses CouchDB).Mostly deals with Webservices and Feed processing.The reason for this question is to get other's feedback and make sure I'm not missing anything.
Ashit Vora
If you're afraid of missing things, you'll usually get better responses to your question if you include what you've already thought about. People on StackOverflow like to know that you've put in some effort already.
Wilduck
+1  A: 

If the point of a framework is to make tedious things easy, a good start would be to consider what is tedious.

Tim McNamara
This framework is not meant to be open sourced. I am using it for my own application. The reason I didnt choose any already available framework is, they are designed to be generic but I have specific needs.The reason for this question here is to know other's feedback and make sure I 'm not missing something.
Ashit Vora
@Ashit, I think you misunderstand what generic means. It usually means it works for a variety of specific needs. Most likely including yours.
Wilduck