Which option is better?

Hi all,
I am developing an application which is is CMS.It consists images to upload and display it on web-page.Now here two things comes...
1 Option: Uplaod the image and store it into the database and then display.
2 Option: Upload the image store it on server(i.e not in database) store it's associated info in database and then display the image.
Which option is better and why?
Expecting kind help ASAP.

The 2nd option is much better, this way you keep your database just for storing the files information such as the image name, type, tags, gps? and other stats.
The image file should be stored separately on the server in a well designed folder structure e.g. Author/Date/Filename.jpg
This makes it easy to use and keeps your data well organised.
nick

Similar Messages

  • Which is a better source for an Indicator, physical or logical

    Hi guys,
    this is something I was wondering -
    which is better for filtering out a value? (for example to Count measures with certain Indicator equal to Yes).
    A) Logical (check "Use existing logical columns as the source") and the use something like CASE Logical table.Indicator Measure When 'YES' Then 1 END
    or
    B) Physical (create a column and in Data Type select the Column mapping and map as
    CASE Physical table.Indicator Measure When 'YES' Then 1 END
    Physical table is the same.
    I know, it's always best to push things to DB back. But in this case, it'd be the same, it doesn't appear to me which option is better at this point.
    By the way, both of them work.
    Thanks
    Message was edited by:
    wildmight

    Both should be same. You can verify this by checking the physical sql generated by using both methods. Most likely they would be same.

  • Which browser is better to use as an option to Safari and how do you download it?

    Which browser is better to use as an option to Safari and how do you safely download it? Thanks

    I use Firefox when a site doesn't work well with Safari. Some people like Google's Chrome, but I find it too instrusive and do not trust Google's security. You can download Firefox from firefox.com.
    Regards.

  • If i have two option to select between XI or BW which one in better and why

    if i have two option to select between XI or BW which one in better and why
    both in terms of money and in terms of my career growth.......

    Sheetika,
    XI if you  are good in JAVA.The rest is same for both XI and BW.
    K.Kiran.

  • CSM Redundancy : FT or HSRP +FT .. Which is the better option?

    Hi,
    I would like to know for redundancy between CSMs which is the better option FT or HSRP with FT.. and why ?
    Regards
    Kas

    The CSM does not run HSRP.
    So your only option is FT failover.
    Gilles.

  • Which of these to option is better ?

    Hi All I,m after some info/feedback Which of these 2 options is better to use on wireless connections  Powerlines or USB Dongles ?  any help greatly recieved
    JamJar62

    Hi jamjar62
    The main thing to remember with any wireless comms is that interference can play a major part in stopping it from working at it's best.
    Poweline connectors - A well installed ring main is the best for these to work. Any spurs from the ring, including socket extension cables etc, can seriously intefere with the signals between each network connection point.
    Wireless (including dongles) - This can be affected by the proximity of other wireless networks. There are some threads on the forums for choosing a channel that will best suit your local conditions. Brick walls can affect transmission also. Microwave ovens in operation can also affect wireless signalling.
    I'm lucky enough to have wooden floors with access underneath so my home is all cat6 connected. Cabling although a bit untidy, is the fastest way to connect if you can do it.
    Hope that gives you a bit of an insight.
    If you found this information useful, then please click the star to the left of this post
    ptan

  • Creating default Row which one is better option

    hi,
    for creating dummy row in ViewObject which one is better and appropriate option..
    1) CreateInsert as default activity
    2) Creating row in Create method of ViewObjectImpl
    Regards
    Kiran
    Edited by: Kiran S on Aug 26, 2010 4:38 AM

    Kiran,
    CreateInsert is an action that is exposed via a data control. If you invoke this action, it will call the Create method of your View Object, so your question really doesn't make sense. If you need to have a row created and inserted into the row set of a VO, then using the CreateInsert action in a task flow will work just fine.
    John

  • Which solution is better for schedules task? Console application or windows service?

    I have a "MULTI-LEVEL" XML file that I will be getting on daily basis and I want to accomplish following tasks:
    1) I have to read and parse the "MULTI-LEVEL" XML data
    2) Then I have to set or create some kind of .net service (c#) that read the xml and parse the data once a day (daily)?
    3) Now I have SOAP service from other software where I want to feed this XML data to. The schedules service will compare the XML data with software data and update (or add) based on the comparision.
    For this task, I come to conclusion that there are 2 best ways to do this:
    1) Create a console application and use windows task scheduler to run it everyday
    2) Create a windows service that runs in the background
    Which is a better way (or reliable)  solution to do this task? Please advise

    There are several things to keep in mind when writing an app that is designed to run without a user logged in. One of the most common mistakes is requiring some sort of user input.  Since the task will run without user intervention you don't want
    any sort of calls to Console.ReadLine, MessageBox.Show, etc.  They will cause the task to freeze and eventually need to be terminated.  You also don't want to rely on any sort of desktop apps running since a user may or may not be logged on at the
    time.
    Also be aware that a task can be scheduled to run under any user context.  As such you either need to ensure it runs under an account with sufficient privileges or that your app needs no special privileges.  You mentioned you tried to run it from
    bin\debug but you most likely have your project under your Documents directory.  Only you would have permissions to that folder and therefore will run into issues if the task is run under a different context.  You also mentioned you put it in the
    C:\ but users don't have write privileges to that folder and therefore if you tried to write a file out it would fail. If you need to read/write files then you should pick a common location that all users have access to or at least the one that will run the
    scheduled task. Be aware that, by default, Task Scheduler will not run a task elevated. You need to check the option to run elevated when you configure the user to run the task under.
    One of the key things to ensure you do with a task is verify it is working properly as a normal app.  You should also ensure that you have good logging so that if it does fail you can trace down the failure more easily.  One common thing that people
    tend to do in console apps is put a try-catch around the main function and display a message if an unhandled exception occurs. This is going to cause problems in a task.  Simply log the exception and rethrow it so Task Scheduler will flag the run as a
    failure.
    If you still cannot figure out why your task is failing then please add some logging and then tell us what code is being run at the time and what the failure is.

  • Which way is better to reverse a key figure sign, update rule or KF prop.?

    We are trying to reverse a key figure sign and have got two options:
    1. In Update Rule by using formula to make this key figure * 1-, or
    2. In key figure property of query design mode, there is a checkbox of "Reverse +/- Signs".
    Which one is better for the above two options?
    Thanks
    Message was edited by: Kevin Smith

    Hi,
    1. In Update Rule by using formula to make this key figure * 1-, or
    A: If you want to update data permanently in Data Targets then go for update rules.
    2. In key figure property of query design mode, there is a checkbox of "Reverse +/- Signs".
    A: The data is not updated in Data Targets but while displaying in Reports it will display the sign.
    That is upto you and business requirements.
    Thanks
    REddy

  • Which battery is better?

    So I have two black macbooks, same specs. I want to keep one and sell the other. Though it may seem sleezy, I want to keep the better battery (since I guess I can switch between them). Is there a way to tell (besides just timing each and letting the battery drain) which battery is better/has been used less/etc.
    Thanks

    To expand on Templeton's post:
    System Profiler is in Applications>Utilities. Click on the Power option in the left-hand column. Check the Battery information.
    As Templeton said, you want the battery with a higher Full Charge Capacity and lower Cycle Count.
    ~Lyssa

  • Which makes a better DVD? Dynamic link or Encoder?

    Which makes a better DVD?—to use the adobe dynamic link on a sequence in the project panel…
    or to export to a file with the Adobe Media Encoder and then import into the Encoder?
    If the latter, does it make a difference if I export from Premiere to an H264 or using the MPEG2-DVD option?
    It would be simpler to burn to an H264 because that is the same file type that I upload to Youtube.
    (Since MPEG2-DVD creates separate video and audio files, I assume they are not uploadable to Youtube…)
    Thanks for any advice you can give.
    [Font corrected.]
    Message edited by Jim Simon

    Export from Premiere with mpeg2-dvd.
    Import the two files in Encore.
    Make menu and burn.
    If you use H.264 it gets re-encoded in Encore.
    If you want to upload to YT with mpeg2 just set the Multiplexer to ON. H.264 is a better choice for YT.

  • Hq or shq? which format is better?

    Can anyone advise please....i have a HD cam here with this option and i have no clue what the difference is when i look.
    Message was edited by: Logic Pro

    hq or shq? which format is better? ...i have a HD cam here with this option and i have no clue what the difference is when i look.
    ... read your camera's manual, usually S stands for super or superior... I guess, SHQ offers a 'better' quality... (?)

  • T440s vs. T540P Which display is better??

    Hello again folks,
    Can you tell me, in your opinion, which display is better in terms of sharpness, viewing angles, contrast, saturation etc. between the top option display in the T440s vs. the best display available in the T540P?
    I want to get the ThinkPad that has the absolute best display for photo editing.
    Thanks so much for your help.
    best to you all,
    rick

    I've seen both screens. Please be aware that the T440s has two FHD screens, the LG and AUO. I will assume you get the AUO. (better than LG)
    Being a AHVA, the AUO has better viewing angles than the 3k IPS of the T540p. A slight shift in contrast is typical for IPS screens. However, you will still be able to see the image from almost all angles on both displays.
    As for contrast, the T440s fares better as well at 800:1 vs. 500:1.
    Color-wise they both cover sRGB (90-100%) but then again, the T440s has a slightly higher coverage of AdobeRGB, though I can't recall any numbers right now.
    Brightness is about the same, 300 nits on both. In terms of sharpness, the T540p wins hands down. The T440s can't keep up with the high 2880x1620 resolution.
    Both are good for photo editing. The T440s would be slightly better IMHO, but you will need a colorimeter on both anyway, because the calibration is a bit off. I think in the end, it doesn't really matter which one you take, like I said, both are very good and suitable for photo editing.
    ThinkPad X301 (2.13GHz) | T61 (FlexView) | Tablet 2

  • Which product is better among Adobe connect and LiveCycle Collaboration service.

    Hello,
    I am developing real time application within it chatting, video conferncing, audio conferencing, white board application doing with more than 5000 employee.So please tell me which product is better among Adobe Connect and Live Cycle Collaboration services.
    If there is another option other than these both product then also please tell me.
    I want same application just like http://puremvc.org/content/blogsection/9/176/ this URL.Within this URL please create different account and see how this system works and reply me.
    Thnaks.

    Hi There,
    If you're developing an application, you likely want to use LCCS rather
    than connect. Connect is a pre-built app, whereas LCCS is a framework and
    service for building apps.
      We're not really here to do your research work for you however, so please
    limit your questions to LCCS.
    hope that helps,
      nigel

  • I am going to buy a macbook pro for grade 12, and I need to know wheather I should get a macbook pro or a macbook pro retina. If someone could tell me (in a very simple way) which one is,better for me and why, I would be ever so apprreciative.

    I am going to buy a macbook pro for grade 12, and I need to know wheather I should get a macbook pro or a macbook pro retina. If someone could tell me (in a very simple way) which one is,better for me and why, I would be ever so apprreciative.

    Why do you need a expensive MacBook Pro?
    Your attending high school and unless everyone else is rich also your likely going to be a target by the more poorer students for theft or damage to the machine.
    You could keep it home, but if you need it for class then your exposed again.
    Also at that age your not very careful yet, a MacBook Pro is a expensive and easily damaged machine.
    Unless your made of money and so are others at your school, I would recommned a low profile, just does the job cheap Windows PC.
    If it dies, gets lost, stolen or damaged because of your inexperince handling senstivie electronics then it's no big deal.
    You can buy a Mac later on when your sure you have a need for it, currently there isn't much advantage of owning a Mac compared to a PC, they do just about the same things now, one just looks prettier than the other.
    Since 95% of the world uses Windows PC's your going to have to install Windows on the Mac in order to keep your skills up there or be unemployed, so it's a extra headache and expense.
    good luck

Maybe you are looking for