Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Web Design Forum »Programming Forum

Notices

Programming Forum Web and Software Programming Forum - Java, PHP, SQL etc.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-12-2007, 03:35 AM
Junior Member
 
Join Date: Dec 2007
Posts: 1
Default Looking for a C# Code generator

Hi guys,
I am a web programmer and I have recently been involved in developing my first ASP.NET application written in C#. I am looking for a code generator to help me to implement the skeleton of the application. I tried to search on the Internet and found a few, but none of them generate the stored procedures, the data access layer and the business layer. Can someone suggest me a good and bug-free code generator so I can focus on implementing the business rules rather than writing stored procedures and developing logic to load and save the data?
Thanks in advance!
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote

  #2 (permalink)  
Old 11-12-2007, 04:15 AM
rossable's Avatar
sarcastic encouragement, brilliant!
 
Join Date: Oct 2007
Location: IN, USA
Gender: Male
Posts: 1,055
Default

pm hoags

my uneducated guess would be that doing such things is what really tailors the project to your specific needs though and to neglect this step would kill your optimization.
but i'm just paid to make things look like they work... functionality is beyond me at the moment.
__________________
http://justross.com/

Last edited by rossable; 11-12-2007 at 05:33 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #3 (permalink)  
Old 11-12-2007, 03:50 PM
mjhoagland's Avatar
i'm here
 
Join Date: Nov 2007
Posts: 26
Default

Ok. The thing with code generators is that all of them have bugs and flaws. No program can surpass the judgement and expertise of a knowledgable programmer. Hence, why progammers make programs and not the other way around.

The neatest skeleton framework that does what you're describing is Ruby on Rails and that's not ASP.Net. So, the best thing I can recommend for you is to take your time and develop your own basic data access layer that is flexible enough to work with any data structure and yet rigid enough to include error checking, recovery, etc.

Not the answer you're looking for, I know but it's the best way to address your problem. This is a very common situation for programmers and this is the "best practices" solution for it.

As far as a prebuilt business layer, that is what describes your business rules. If there's code in the business layer that doesn't describe those rules then it shouldn't be in your business layer, no exceptions. That is the single most layer that changes the most from application to application whether it be a desktop app, web app, server/client app, etc.

A good data access layer should not change much from application to application. There are really only three requirements you need to focus on when making this layer. Requirement 1) get data, 2) put data and 3) an exception recovery model in case 1 or 2 fails. This should be the most light-weight and efficient layer of the application as it's accessed the most since in the vast majority of applications it is accessed by everything.

The business layer should be all the heavy duty logic, your 800lb gorilla. The data layer is the heart and the business layer is the brain. And as a brain, it carries everything from differentiating bool from string, etc.

So, in summary, avoid generators and, instead, develop your own data framework that you can carry from project to project. Not saying it's a straight copy/paste from each application but the changes will be minimal if you do it correctly.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #4 (permalink)  
Old 12-12-2007, 01:57 PM
mjhoagland's Avatar
i'm here
 
Join Date: Nov 2007
Posts: 26
Default

Spammer!!!
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #5 (permalink)  
Old 12-12-2007, 03:11 PM
picky-very-picky's Avatar
Experienced Member
 
Join Date: Aug 2007
Location: UK
Posts: 113
Default

delete the post they should know better
__________________
[COLOR="DimGray"]“About half my designs are controlled fantasy, 15 percent are total madness and the rest are bread-and-butter designs.”[/COLOR]
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #6 (permalink)  
Old 14-02-2008, 12:58 AM
Junior Member
 
Join Date: Feb 2008
Posts: 1
Default Best Code Generator

I recommend Advantage Builder
http://AdvantageBuilder.googlepages.com

It's free, powerfull and simple to use. Point and click architecture throughout. You can build out of the box stored procs classes and web forms.

You can also script your templates using JScript.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
  #7 (permalink)  
Old 17-06-2008, 05:39 AM
Junior Member
 
Join Date: Jun 2008
Gender: Male
Posts: 1
Default Code Generator

This one was great.

URL: pureobjects.com

It generates c# and vb.net objects as well as create sql table and stored procs all in one shot.
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
stripe generator drewbie_wan General Web Design Forum 4 08-03-2008 10:33 AM
Vinyl Record Generator Laura Lynne Off Topic 1 25-02-2008 07:11 PM
Spam Proof Email Generator Miss Leona General Web Design Forum 0 20-02-2008 12:09 PM
Google Sitemap Generator for Mac Toon Apple Mac Forum 3 31-01-2008 10:10 AM
2.0 Stripe Generator Toon General Web Design Forum 1 03-04-2007 07:47 AM


All times are GMT. The time now is 12:43 AM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0