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

Should I use Data Shaping

22
Hello everyone. This pretty much the first time posting in a forum, so please dont shout at me for doing something wrong :).

SQL SERVER 2005
CLASSIC ASP VBSCRIPT
SQL Server And IIS are running on the same machine.

I have been developing an online shopping store for over 12months now and am getting close to completion. However there is still a lot of work to be done by others with regard to data entry, so have some time on my hands.

I have set about tidying up and refining my code and while doing so I thought I would search the net for information on 'Nested Recordsets' as one of the fields in the main products page is in effect a recordset itself and am currently making a seperate data request for each record returned.
( I hope this makes sence?)
See example here
1+£0.00
10+£0.00..etc.


As result, I stumbled across a few articles on Data Shaping which looks fantastic and after a bit of messing, I have managed to get a simple moc up working.

My concern with Data Shaping is this:

The only articles I have found, are quite old.

To get it to work, I had to set up a SQLOLEDB connection as oposed to ADODB. Forgive my ignorance, but isn't OLE an older technology??

I currently always use ADODB Commands & stored procedures that usualy return multiple recordsets.

I should also point out that although the datase is going to have in excess of 30,000 products and a lot of related data on each product, it is set up to only ever return between 5 and 30 product records on a page at any 1 time, and as a result generaly returns a page in under 1 seond. But who knows, if the site is successfull and has lots of hit all the time?

IS DATA SHAPING SOMETHING I SHOULD BE THINKING ABOUT, OR IS IT A STEP BACKWARDS???

Any thoughts or comment would be much apreciated.
Jul 6 '08 #1
3 1500
jhardman
3,406 Expert 2GB
It sounds like the methods you had already used are sufficient, but I'm not sure I've ever heard of "data shaping", so I'll look it up, see what it means.
Jul 8 '08 #2
jhardman
3,406 Expert 2GB
Thanks for bringing this up! I looked it up on 4 guys from rolla and it definitely looks like a good idea, I even see how I could use it. The author of the above-linked article says it was introduced in ADO 2.0 which is no older than ASP, do you have any way to test it using a computer without the older Ole installed? This article was written in '99, just about when ASP was hitting its zenith, yes it's old now, but so is ASP. The real test would be trying this in ASP.NET.

Jared
Jul 8 '08 #3
TimVtoo
22
Hi Jared, thanks for your input.
I have now got this in place on my default page and seems to be fine, but to answer my own question. The difference really isn't noticable IN THIS CASE.
However, Im sure it has its place.
I would imagine that if the database and iis where on different machines and the sub recordsets where larger, it could be a huge benifit!

As far as .net goes, thats outa my scope for now... Maybe the next job :)

Tim
Jul 9 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

303
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
16
by: Paul Prescod | last post by:
I skimmed the tutorial and something alarmed me. "Strings are a powerful data type in Prothon. Unlike many languages, they can be of unlimited size (constrained only by memory size) and can hold...
2
by: flamesrock | last post by:
Just curious - is there an easy way to shape bandwith in python. If I wanted to have a max download speed for instance -thanks
36
by: Jack Hughes | last post by:
This argument has come up two or three times lately. We have a web standards document at our company that say "Use valid HTML 4; We don't recommend switching to DIV-based CSS-P for layout just...
0
by: Mike Kingscott | last post by:
Hi all, I wonder if anyone can help? I have a need to display some data on my web page (the results of a search) for links. Here's the thing: Each link can belong to one or more category (yes, I...
3
by: AFN | last post by:
I need to manually create the data to be shown in a datagrid (or some data table object). Should I create an array and bind the array to the datagrid OR should I create a temporary dataset and...
10
by: Paul Deibel | last post by:
Hello I am working on a VB.Net project where I need to change the data provider from OLEDB to OracleClient. I am also looking to use "shaping" and I am looking for the equivalent to...
3
by: Support | last post by:
Anyone with experience in data shapes (hierarchical recordsets) with SQL stored procedures ? I use them with ASP but I cannot find reference on how to use them in VB.NET StrShape="SHAPE {{ CALL...
20
by: HKSHK | last post by:
Hi guys, I want to write a database application, which I later want to sell. Now I am looking for a nice, little database which would have to fullfil these requirements: * Either free or low...
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...
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
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
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
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
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...

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.