473,839 Members | 1,328 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where to put the imagedata in CMS?

I am doing a news-oriented multiuser cms, where authors can design
html-pages or plaintext-pages and then editor(s) accept them. Also they can
load images, at least five - maybe. But I don't know yet where should I
place tha imagedata. Options are at least:

1) To same table with the pagematerial, which naturally connects images with
pages but on the other hand limit the number of images/pages. Also I am
afraid, will this cause speed problems or is just indexing the text-fields
enough to prevent to speed problems.

2) To own table called images and then have author_id connected to every
image. In this way authors could only use their own images, but use the same
image easily without new file uploads. Maybe during the file upload there
could be option "allow use for all" and then author_id would be null. Those
images would be general image store for all auhors. In this moment this
alternative sounds best.

3) To own table called images and then have page_id connected to every
image. This is also quite natural consept but more restrictive than prevous
one.

4) To own table called images and then have couple of image_id fields in
pages-table. This violates database integrity but "good side" is that all
queries in public side can be done without inspecting images-table.

Jul 20 '05 #1
0 1170

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

Similar topics

7
2621
by: Henri Schomäcker | last post by:
Hi folks, I got a windows com executable which returns a jpg image in a BSTR. Let's say, the var that holds the data is $imgData. With perl, in a cgi script, I may simpy write: 8<--------8<--------8<--------8<--------8<-------- $| = 1; print "Content-type: image/jpeg\n\n";
0
1142
by: Perttu Pulkkinen | last post by:
I am doing a news-oriented multiuser cms, where authors can design html-pages or plaintext-pages and then editor(s) accept them. Also they can load images, at least five - maybe. But I don't know yet where should I place tha imagedata. Options are at least: 1) To same table with the pagematerial, which naturally connects images with pages but on the other hand limit the number of images/pages. Also I am afraid, will this cause speed...
0
1207
by: Jerome | last post by:
Hi, I would like to know if there is a trick to use inlined raw data (encoded in base64 for example) to describe the content of an imageobject. I tried the following code, but i don't know how to describe the matching ENTITY. <!ENTITY ps_entity "how could i encode my ps file ???" > .... <mediaobject> <imageobject>
6
70818
by: SpaceApe | last post by:
Where does the imagedata get stored in following case? <img src="cid:image001.gif@01BF4C68.ABA6D350" When I tried to save the gif file by right clicking the picture I got it as .bmp. What does the number 01BF4C68.ABA6D350 indicate? How can I save the gif file on my harddisk?
1
1207
by: rajesh0205 | last post by:
plz. tell me hwa we read the imagedata tag hich is the combination of the alphanumeric data in the xml file. plz send answer as earliest as possible
2
1346
by: rajesh0205 | last post by:
tell plz me, how we read the IMAGEDATA tag from xml file
8
2703
by: rajesh0205 | last post by:
How to read the IMAGEDATA tag from the xml file. OK.
3
3404
by: teddymeu | last post by:
Hi Guys, new to development using visual studio and vb.net 2.0. and SQL express. Have a small problem. I have an update command which im using to change the values of a blob image table to NULL so that i can then insert a new image into the table. This works fine. My problem is that my insert statement has an error and i cant figure this out. if i dont add the where clause it works fine but inserts the new image into the table without the...
0
9855
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9697
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10908
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10587
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10295
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9426
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7829
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4487
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.