473,382 Members | 1,814 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,382 software developers and data experts.

Common code generation

Hi,

This is a very simple question so please bare with my ignorance on
this. I want to write a piece of code which does a common task
(independent) which reads xml input and process something and then
create an xml output. I want to share this code with different groups,
I have 2 questions on this
1. How do I go about building one like this and is there a link
somewhere I can read about this?
2. When I make changes to my code how do I distribute my changed to
other development groups?

Thanks.

Jul 19 '07 #1
2 1554
One way is an xml to xml transformation using xsl.

OR you can read thru the xml.

Here is how to do #1.

http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!148.entry



"DBC User" <db*****@gmail.comwrote in message
news:11**********************@n2g2000hse.googlegro ups.com...
Hi,

This is a very simple question so please bare with my ignorance on
this. I want to write a piece of code which does a common task
(independent) which reads xml input and process something and then
create an xml output. I want to share this code with different groups,
I have 2 questions on this
1. How do I go about building one like this and is there a link
somewhere I can read about this?
2. When I make changes to my code how do I distribute my changed to
other development groups?

Thanks.

Jul 19 '07 #2

"DBC User" <db*****@gmail.comwrote in message
news:11**********************@n2g2000hse.googlegro ups.com...
Hi,

This is a very simple question so please bare with my ignorance on
this. I want to write a piece of code which does a common task
(independent) which reads xml input and process something and then
create an xml output. I want to share this code with different groups,
I have 2 questions on this
1. How do I go about building one like this and is there a link
somewhere I can read about this?
2. When I make changes to my code how do I distribute my changed to
other development groups?
If all users have network access to you, you could expose a web service.

Probably though, you'll just want to distribute the assembly. You can
create .msi files to make sure that older versions are correctly removed
during an upgrade. There's also OneClick deployment, but I think it is more
for applications than reusable components.

One possible solution is to have a text file on your web server than
contains the version number of the latest release. Then you can put some
code in that only runs in debug builds, compares the current version to the
version on the web, and tells the programmers when a new version is
available.
Jul 19 '07 #3

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

Similar topics

51
by: Mudge | last post by:
Please, someone, tell me why OO in PHP is better than procedural.
8
by: Max M | last post by:
Yesterday there was an article on Slashdot: http://books.slashdot.org/article.pl?sid=03/09/04/1415210&mode=flat&tid=108&tid=126&tid=156 It is about automatic code generation. I got interrested...
0
by: Rasmus Fogh | last post by:
Someone raised the question of automatic code generation a few weeks back. And yes, we (CCPN) are using automatic Python code generation in a major way. Basically we are making data models in...
1
by: Gina | last post by:
I need to add the cell generation to a templated program. I am using graphics magician, but my problem is with the math. I cannot figure out my cell generations. I do know that I need two...
8
by: John M. Gabriele | last post by:
I'm putting together a small site using Python and cgi. (I'm pretty new to this, but I've worked a little with JSP/servlets/Java before.) Almost all pages on the site will share some common...
8
by: | last post by:
Wel, I am rebuilding the VC# 2002 project that I have deployment problems with the 2003 version, hoping this solves the problems, but now I encounter this wierd bug??? If I have the project, and...
9
by: Hayato Iriumi | last post by:
Hello, I hear some hypes about creating code to generate C# or VB .NET code, that is, code generation (sounds straight forward enough). I haven't really seen how it's done in real world. I'm...
4
by: Julia | last post by:
Hi, Is there any why I could use attribute or something else to instruct the compiler to inject a specific code for a property? for example i have the following property and i would like that...
31
by: eliben | last post by:
Hello, In a Python program I'm writing I need to dynamically generate functions and store them in a dict. eval() can't work for me because a function definition is a statement and not an...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.