473,403 Members | 2,284 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,403 software developers and data experts.

Is this possible

Greetings

I am a student doing a senior project in ASP.NET. The project is to
build an "on-line" card catalogue for a training library for a local
company. The library contains several different types of media; books,
DVD, VHS tapes among others.

Each of these different types of media have different attributes the
client wants to display such as run time for the audio visual media and
number of pages for the books or magazine articles.

Is there anyway to create the web pages "on the fly", probably from some
sort of data connection (XML or otherwise), for viewing or entering new
media into the system. I know I can make the pages as needed for each
type of media and then just call them as needed, but I just believe
there must be a better way (write code to write code). My main concern
is as time goes on there will probably be newer types of media added to
the training center and then another page will have to be created to
handle that as opposed to the web page being dynamic enough to be
created from some database table headers.

In my Java class I was able to write a class that could read a text file
and create the screen from it using flow layout I think. But that was
two years ago.

Thanks for reading this far.

Bob

PS Of course this is just a senior project and after May 13th I will
never have to deal with this system again (unless they hire me <grin>)
but I would like to do the best job possible.
Nov 18 '05 #1
3 1456
You can create pages on the fly. You can also create a system where the
pages are all virtual, using the HtppHandler, which is much like an ISAPI
filter.

XML is also an option, as you can render the page content based on the data,
via XSLT. I have an example of XML/XSLT transformations directly to the HTTP
stream in the downloads for my book. You can find it (ADO.NET and XML:
ASP.NET on the Edge) at http://www.wiley.com/extras. It was written for
version 1.0, but the theory is still sound (NOTE: VB.NET, so you will have
to translate for C#).

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

************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Bob Cummings" <ra****@dwave.net> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Greetings

I am a student doing a senior project in ASP.NET. The project is to
build an "on-line" card catalogue for a training library for a local
company. The library contains several different types of media; books,
DVD, VHS tapes among others.

Each of these different types of media have different attributes the
client wants to display such as run time for the audio visual media and
number of pages for the books or magazine articles.

Is there anyway to create the web pages "on the fly", probably from some
sort of data connection (XML or otherwise), for viewing or entering new
media into the system. I know I can make the pages as needed for each
type of media and then just call them as needed, but I just believe
there must be a better way (write code to write code). My main concern
is as time goes on there will probably be newer types of media added to
the training center and then another page will have to be created to
handle that as opposed to the web page being dynamic enough to be
created from some database table headers.

In my Java class I was able to write a class that could read a text file
and create the screen from it using flow layout I think. But that was
two years ago.

Thanks for reading this far.

Bob

PS Of course this is just a senior project and after May 13th I will
never have to deal with this system again (unless they hire me <grin>)
but I would like to do the best job possible.

Nov 18 '05 #2
well, you have a bunch of options.
You could dynamically populate a datagrid depending on the "media" type.
You could maintain one page with a seperate user control for each type
(I'm sure there are many other idea)
or, as you suggested, make a different page for each type (not a big deal).

The thing is you are always going to have to do some work when a new type is
added, to indicate what to display. Really though you should be able to do
it pretty much any way you can think of.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Bob Cummings" <ra****@dwave.net> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Greetings

I am a student doing a senior project in ASP.NET. The project is to
build an "on-line" card catalogue for a training library for a local
company. The library contains several different types of media; books,
DVD, VHS tapes among others.

Each of these different types of media have different attributes the
client wants to display such as run time for the audio visual media and
number of pages for the books or magazine articles.

Is there anyway to create the web pages "on the fly", probably from some
sort of data connection (XML or otherwise), for viewing or entering new
media into the system. I know I can make the pages as needed for each
type of media and then just call them as needed, but I just believe
there must be a better way (write code to write code). My main concern
is as time goes on there will probably be newer types of media added to
the training center and then another page will have to be created to
handle that as opposed to the web page being dynamic enough to be
created from some database table headers.

In my Java class I was able to write a class that could read a text file
and create the screen from it using flow layout I think. But that was
two years ago.

Thanks for reading this far.

Bob

PS Of course this is just a senior project and after May 13th I will
never have to deal with this system again (unless they hire me <grin>)
but I would like to do the best job possible.

Nov 18 '05 #3
Cowboy (Gregory A. Beamer) wrote:
You can create pages on the fly. You can also create a system where the
pages are all virtual, using the HtppHandler, which is much like an ISAPI
filter.

XML is also an option, as you can render the page content based on the data,
via XSLT. I have an example of XML/XSLT transformations directly to the HTTP
stream in the downloads for my book. You can find it (ADO.NET and XML:
ASP.NET on the Edge) at http://www.wiley.com/extras. It was written for
version 1.0, but the theory is still sound (NOTE: VB.NET, so you will have
to translate for C#).


Cowboy

Thanks a bunch. I am downloading the appropriate chapters now and will
take them to school to read and digest.

Bob

Nov 18 '05 #4

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

Similar topics

4
by: Julia Briggs | last post by:
I am struggling to create a PHP function that would take a specified image (JPG, GIF or PNG) from a link, and resize it down to a thumbnail so it will always fit in a 200x250 space. I am hoping...
36
by: rbt | last post by:
Say I have a list that has 3 letters in it: I want to print all the possible 4 digit combinations of those 3 letters: 4^3 = 64 aaaa
20
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
7
by: Andrzej | last post by:
Is it possible to call a function which name is given by a string? Let assume that I created a program which call some functions for example void f1(void), void f2(void), void f3(void). ...
2
by: Bhupesh Naik | last post by:
This is a query regarding my problem to make a spell and grammar check possible in text area of a web page. We have aspx pages which are used to construct letters. The browser based screens...
1
by: AAA | last post by:
hi, I'll explain fastly the program that i'm doing.. the computer asks me to enter the cardinal of a set X ( called "dimX" type integer)where X is a table of one dimension and then to fill it...
25
by: Piotr Nowak | last post by:
Hi, Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by notyfinig it. I do not want to refresh my page i.e....
4
by: RSH | last post by:
Okay my math skills aren't waht they used to be... With that being said what Im trying to do is create a matrix that given x number of columns, and y number of possible values i want to generate...
7
by: Robert S. | last post by:
Searching some time now for documents on this but still did not find anything about it: Is it possible to replace the entry screen of MS Office Access 2007 - that one presenting that default...
14
by: bjorklund.emil | last post by:
Hello pythonistas. I'm a newbie to pretty much both programming and Python. I have a task that involves writing a test script for every possible combination of preference settings for a software...
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: 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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.