473,407 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Repetitive coding

JJ
When I'm creating a new web site project, I tend to spend a lot of time
repeating the same code, but with different variable names and types. This
is when I am setting up the business, and data layers in particular. Even
the SQL stored procedures are much the same (except for the names and
types).

My question is, is it possible to automate this task? It would save a huge
amount of time.

Thanks,
JJ
Nov 23 '07 #1
2 831
Code snippets work, but you would still have to supply some variables and
possibly dink the code a bit. There are also code generators, as Dave Bush
has suggested.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
"JJ" <ab*@xyz.comwrote in message
news:u3**************@TK2MSFTNGP05.phx.gbl...
When I'm creating a new web site project, I tend to spend a lot of time
repeating the same code, but with different variable names and types. This
is when I am setting up the business, and data layers in particular. Even
the SQL stored procedures are much the same (except for the names and
types).

My question is, is it possible to automate this task? It would save a huge
amount of time.

Thanks,
JJ

Nov 23 '07 #2
You might want to take a look at the Repository Factory over at CodePlex.com.
It's pretty easy to use, having been pulled out of the WebService Software
Factory offering to be a standalone code repository and datalayer generator.

--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com

"JJ" wrote:
When I'm creating a new web site project, I tend to spend a lot of time
repeating the same code, but with different variable names and types. This
is when I am setting up the business, and data layers in particular. Even
the SQL stored procedures are much the same (except for the names and
types).

My question is, is it possible to automate this task? It would save a huge
amount of time.

Thanks,
JJ
Nov 23 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: deko | last post by:
I have 3 files I need to write to - and need to make sure I have a lock on each, and take action if I can't get a lock. The code below works, but I know it could be more efficient if I used a...
5
by: Larry L | last post by:
I want to play a repetitive sound, and have a user click on a button each time it plays (say 5-10 times) and measure how far off he is from the sound each time. The only way I know to play a...
1
by: stoprsi | last post by:
RSI Warrior 4.0 is an award-winning ergonomics software package helping thousands of computer users prevent and recover from computer-related Repetitive Strain Injuries such as carpal tunnel,...
0
by: stoprsi | last post by:
RSI Warrior 4.0 is an award-winning ergonomics software package helping thousands of computer users prevent and recover from computer-related Repetitive Strain Injuries such as carpal tunnel,...
98
by: tjb | last post by:
I often see code like this: /// <summary> /// Removes a node. /// </summary> /// <param name="node">The node to remove.</param> public void RemoveNode(Node node) { <...> }
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.