DATABASE DRIVEN WEBSITE

Hello folks,
I want to create a website , not super classy but simple one . I want to have the website connected to a oracle database where all the details of products will be stored. Not much into details just enough. Then connect the website with the database so that we can add,delete,update things from the website . Website be a front end and oracle database a back end.
This is for my project . I have created static web pages with pagebreeze. I have downloaded the oracle 10g thing on my system. I think i can create a database in that . But now how to link both things and how to go from here to get a database driven website ?
Please help me i am stuck.

I created some simple web pages to display/update details on an oracle database. I used apache web server, and php for the pages. In php it is simple to access an oracle database using oci_connect, oci_parse, oci_execute, etc.

Similar Messages

  • What is a Database-Driven Websites?

    the term Database-Driven Websites?
    what is it?
    and how does this work?
    thanks

    > the term Database-Driven Websites?
    > what is it?
    > and how does this work?
    well the data is stored in a database and based on the user's
    selection(s), the data is served.
    Think of a shopping cart. You click that you want to see info
    about shirts, the result is that the database serves up a
    list of
    shirts. Next, you select long-sleeved and the database serves
    up a list of long-sleeved shirts which may include pictures
    and
    other information.

  • Can Adobe Muse be used to create database driven websites?

    Can Adobe Muse be used to create database driven websites, or is it only through "replace image through browse from your computer".

    Hi Edgard,
    I am afraid that this is not possible in Muse at this stage, I will recommend that you post this on our ideas section over here, Ideas for features in Adobe Muse, and let our devs team know of this requirement.
    In muse you can only design static content. For any dynamic content that you need to render via DB, you will need to write custom code and insert it in Muse via 'object -> insert html' option or 'properties -> metadata -> html for head' option.
    - Abhishek Maurya

  • ColdFusion f*cked up, database driven websites, is there another way?

    Hi there,
    I downloaded a trial version of ColdFusion from Adobe, and it won't ever let me setup, and it doesn't let me uninstall. It asks for my OS X login password, I typed it in correctly, and it always comes out wrond. Don't ask me if I did type it in wrongly, cus I didn't . I tried logging out and ten back in again. Adobe are probably a con, they don't let you uninstall software off YOUR computer. So, I was wondering, is there another way to make database driven websites on your Mac without using con company software like Adobe? If somebody can sort out the Adobe problem, I would be really appriciate it.
    Thanks!

    Ok, first of all you need to understand this entire process from installing the server apps, to writing the code, to laying out the page isnt going to be a simple drag and drop, point and click, upload and go process. Its going to be ALOT more involved than that on any operating system and in any development environment. I dont ever want to discourage, but im going to let you know right now if you have this attitude of "it didnt work in the first 10 minutes" you aint gonna end up creating anything. Period.
    That said, you need to consider where youre going to run this site. Are you going to run it off your home computer? Ok, then youll need a static ip address to bind to your domain name and at the leat a always on broadband connection - preferably a business account if you want to avoid being haslted by your ISP. If youre going to host the site somewhere then you need to lok at what type of server its going to run n and what technlogies are going to be available on that server. The most common are ASP/ASP.Net and PHP4.In combonation with MSSQL, MySQL or Postgre. You cant really run ASP on your mac since its an MS only thing (ALthough ther eis a Java server that will run ASP available from Sun Microsystems). So now youre left with PHP out of those two. Ofcourse, you can find hosts offering hosted Coldfusion and Ruby on Rails. However rails can be tricky to get working on a mac properly so id say youll probably jsut want to stick with PHP. Id reccommend php4 as opposed to php5 since most hosts arent yet offering php5(this is changing daily but for the time being in a learning environment jsut use 4).
    As for MySQL, agian you need to use in your environment the one youre using on your host. So stick with verion 4.x.x as thats what most hosts currently run... Mine still runs 3.x.x although tats set to change to 4.x.x by the end of the year.
    One thing youll learn in web development is that people dont always use the most recent generally available rleas of a product, particularily where opensource stuff is concerned.

  • Can anyone help with database driven design

    Hi,
    I would like to determine the best way to serve large amounts
    of text on an html page. I have manuals with lots of links that I
    want to add to a website. I would like to employ database driven
    web development in my design, would this be a good use for it? If
    so would you suggest php and what database?
    Thanks!
    Please forgive me for double posting, I posted this in the
    general forum but maybe should have done it here first?

    I would say it totally depends on the format that the manuals
    are in. If they're HTML than you can store them as BLOB's in mysql
    and you're life will be rather easy. You would need to parse the
    blob output for URLs but that's about it.
    However, if the manuals are in PDF than a database wouldn't
    help with the storage of the actual files, however you can use
    either XML or a DB (i.e. mysql) to store the metadata about that
    manual so that you can at least make the site searchable.
    A little more information about your data/website would
    probably be helpful.
    Aram

  • Database at website

    Please excuse my ignorance as I stumble thru my question.
    I would like to have a website, via Mobile Me or otherwise, that is similar to ones you see at newspapers - where there are selection boxes for users to choose what they want to see (one, several or all) of a category, and then the results can be sorted.
    I have the data in a database... I'm just not sure what I do from there.
    I looked at many calendar driven applications, but they do not seem to give me the flexibility I need for allowing my viewers to choose what they see.
    If someone can just give me a push in the direction of what it is that I'm looking for, I'll be off and running...
    Thank you -

    Hi Marion,
    MobileMe does not support server side scripting or databases by users.
    I have a work around to show the HTML published database with an iFrame if your database app. has instant web publishing capabilities. But that may not be what you are looking for as there will be a 'log-in to database(server)' screen first.
    If you are looking for a database driven content management platform then you may want to check out [Drupal|http://drupal.org>, it works with MySQL databases and PHP.
    On their website you can find plenty of hosts for your Drupal website.
    With PHP or MySQL over ODBC you can even connect to your database.
    Check out [DynDNS|http://www.dyndns.com> if you want to use your own Mac as a web/database server behind a consumer router with variable IP nr.
    Kind regards,
    Leo

  • SEO with PHP/Database driven sites

    I know this is the wrong place for this question but I wanted the opinion of this forum.
    My company is in the planning stages of building a new site. It's currently PHP/Database driven but for the amount of products we have in our lineup, it's not really necessary. I'm heading up the SEO for the new site and have been looking into it the past few weeks.
    From what I've read here and there, PHP isn't too search engine friendly. There aren't any recent articles online that I can find on the subject so I would like to know your opinion. The new site can be created just as well with HTML/CSS and we plan to go crazy with SEO. From what you guys know about SEO, would you recommend staying with PHP or moving over to HTML?
    Thanks in advance...

    No, there is no difference. The only thing to ensure is that your 'meta' description is also individualised for each item/page and that any images contain a title attribute  individual to the image and not the generic "product image" title, (or similar) that many include.
    This is what I've learned. I'm excited to begin the whole process. We have many websites that need to be re-done so we're trying to work out good plan before doing so. Designing for mobile came up after the first site was completed and I didn't have too much time to get into that, as you saw a few weeks back. Right now the page is only really built for Blackberry and once I was going to get into learning the media queries for the next two, I was put onto SEO.
    We're a bbq company with a tonne of brands and things haven't been touched in years. Not a single person here knows anything about any of the websites. When I was hired a few months ago I was just thrown into the mix. As I'm sure you can imagine, things can get frustrating.
    EDIT--
    This is BOSS DJ. I made another account for work and for some reason they've switched them up. I signed in with Krumf and they gave me BOSS even though it said Welcome, Krumf up top. This window has been open ever since I signed in
    Strange...

  • JavaFX for database driven applications? No Tree or Table components?

    Hi there,
    Most of the apps I do are database driven and require liberal use of tables and tree components. I see these are missing from JavaFX.
    So the questions I have are:
    Will they be introduced later?
    How does one create custom components for JavaFX?
    Are there any 3rd party components that offer this yet?
    thanks

    You can find an example of the Table component creation and usage on page:
    [http://jfx.wikia.com/wiki/SwingComponents|http://jfx.wikia.com/wiki/SwingComponents]

  • Use dropdownlist to select image (database driven)

    Im building a web application in flash builder which will be database driven. The database will contain id (of product), name (of product), photofile (text string i.e photo1.jpg). i have the data/services up and running, i just need to get it so when the user selects a name from the dropdownlist the corresponding photofile is selected into the picture frame.
    I know to turn the photofile text into a picture it will be something like this but not sure what code to insert into the <s:Image tag;
    private function getPhotoURL(item:Object):String{
                                    return "http://............./assets/"+item.photofile;
    I don't know how to bind everything together, any help would be appreciated.

    I have 2 programs:
    First Pgm:
    <?php require_once('Connections/abc.php'); ?>
    <?php
    mysql_select_db($database_abc, $abc);
    $query_Recordset1 = "SELECT * FROM replyarticle";
    $Recordset1 = mysql_query($query_Recordset1, $abb) or
    die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <a href="thumb.php?id=<?php echo
    $row_Recordset1['postid'];?>"><img src= "idea.GIF"
    width="20" height="19" border="0" /></a></p>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>
    Second pgm: thumb.php
    <?php require_once('Connections/abc.php'); ?>
    <?php
    $colname_Recordset1 = "-1";
    if (isset($_GET['id'])) {
    $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['id']
    : addslashes($_GET['id']);
    mysql_select_db($database_abc, $abc);
    $query_Recordset1 = sprintf("SELECT * FROM replyarticle WHERE
    postid = %s", $colname_Recordset1);
    $Recordset1 = mysql_query($query_Recordset1, $abb) or
    die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=" />
    <title>Untitled Document</title>
    </head>
    <body>
    <?php
    $img= $row_Recordset1['book_no']; ?>
    <?php
    $img_name=$img;
    header("Content-type: image/jpeg");
    list($w,$h)=getimagesize($img_name);
    $src_img=imagecreatefromjpeg($img_name);
    imagejpeg($src_img);
    imagedestroy($src_img);
    mysql_free_result($Recordset1);
    ?>
    </body>
    </html>
    Micha, am I working on what you said?

  • Howto build database driven forms

    Hello
    I'm a newbie to oracle forms.I'm intrested in creating a database driven form which would take single or multiple input from user in single or multiple input boxes and add in a table which i shall query to develop oracle reports.I should also be able to populate data from the table onto the forms for users to review.
    Kindly guide.I'm also googling for a suitable oracle forms guide too.If you have any do let me know.
    Regards
    Fahad

    Fahad,
    You're already in the right place to find documentation on Oracle Forms (see link [Oracle Developer Suite 10g Release 2 (10.1.2) Documentation|http://download.oracle.com/docs/cd/B25016_08//doc/dl/index.htm] ). Here are a few other books available that can get you started as well:
    [Learning Oracle Forms 4.5: a Tutorial for Forms Designers|http://www.amazon.com/Learning-Oracle-Forms-4-5-Designers/dp/0964723301] - Yes, it is for Forms 4.5, but the concepts still apply.
    [Oracle Forms Interactive Workbook|http://www.pearsonhighered.com/academic/product/0,3110,0130158089,00.html]
    [Oracle Developer Advanced Forms and Reports|http://www.amazon.com/Oracle-Developer-Advanced-Forms-Reports/dp/0072120487]
    [Oracle Forms Developer -- The Complete Video Course|http://www.amazon.com/Oracle-Forms-Developer-Complete-Course/dp/0130321249/ref=pd_sim_b_1]
    Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question, please mark the response accordingly. Thanks!
    Edited by: CraigB on Sep 29, 2008 10:05 AM

  • LOVs and how to substitute a database driven value with a more readable val

    Hello,
    I am using LOVS in my view objects and I like it because it is saving me time whille developing my UI: I get drop down list made automatically for me in my UI forms.
    However I have a requirement to change the values we see in the drop down today.
    Basically the values that show in the drop down are database driven and they are not very readable for the end users, so I would like to somehow convert them with some values that I know would make more sense.
    Let say in my database I have a fiield name type that can be G for general or S for Specific, I would like the user to see General or Specific in the drop down list instead of G or S. How would you do that and can LOVs be configured to do that?
    Thanks

    there is something called display attribute when you create your lov in the ui hints tab..
    you have shuttle the description for the code to the selected pane. .so that you see the description instead of the code that is bounded for the lov attribute..
    http://blogs.oracle.com/workingwithadf/entry/adf-bc_creating_a_listofvalues_lov_and_a_cascaded_lov
    https://lh6.googleusercontent.com/-LZExUnvVJAo/TXNp71j7VII/AAAAAAAAE3s/1ukcrJOrw2Y/s1600/4.png

  • Database driven combobox itemrenderer in DataGrid

    Hi
    I created a database driven combobox itemrenderer, code see below:
    The data is loaded and shown correctly, but when I change the combobox, suddenly a "0" appears:
    I can see in the debugger in combobox1_changeHandler, that the correct data is taken from the combo "this.selectedItem.data=3;" and written to "data.professionGroup", (changed from "1" to "3")
    but then when the code jumps to set data the "value.professionGroup" is "0"?!?!
    Thank yor for any pointers!
    The DataGrid:
        <mx:DataGrid id="personDg" dataProvider="{sm.persons}" width="100%" height="100%" editable="true">
             <mx:columns>
                <mx:DataGridColumn headerText="firstName" dataField="firstName"/>
                 <mx:DataGridColumn headerText="lastName" dataField="lastName"/>
                 <mx:DataGridColumn headerText="professionGroup" dataField="professionGroup" editable="true" editorDataField="data"
                     rendererIsEditor="true"
                     itemRenderer="com.xxx.view.components.combobox.ProfessionGroupCombo">
                 </mx:DataGridColumn>
            </mx:columns>
         </mx:DataGrid>
    The ItemRenderer:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:ComboBox xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo"
         change="combobox1_changeHandler(event)"  initialize="combobox1_initializeHandler(event)" >
             <fx:Script>
                 <![CDATA[
                     import mx.controls.dataGridClasses.DataGridListData;
                     import com.myfim.model.ShellModell;
                       import mx.events.ListEvent;
                        import mx.events.FlexEvent;
                     [Bindable]
                     private static var sm:ShellModell=ShellModell.getInstance();
                        public function setSelectedItemByValue(val:int):void{                                                                   
                             this.selectedIndex = -1; // Show prompt if value is not found
                             for (var i:int=0;i<this.dataProvider.length;i++){
                                if(this.dataProvider[i].data == val){
                                     this.selectedIndex = i;
                                     break;
                             }// for
                     override public function set data(value:Object):void{
                        super.data=value; // value is the VO!
                         setSelectedItemByValue(value.professionGroup);
                     protected function combobox1_changeHandler(event:ListEvent):void
                        data.professionGroup=this.selectedItem.data;                   
                        // I can see in the debugger that "data.professionGroup" gets the correct data f.e. ="3" , but if it jumps to the "set data" the                          value.professionGroup is "0" !??     
                    protected function combobox1_initializeHandler(event:FlexEvent):void
                        this.dataProvider=sm.comboData.professionGroupAc;  // AC of (label, data)
                 ]]>
             </fx:Script>
    </mx:ComboBox>

    Hi,
    yupiiee! I found the answer by myself, I had to change
    editorDataField="data" to editorDataField="value"
    Thats all! Then it works!
    Martin Zach

  • Safari hangs when posting forms on php database driven sites

    Hello,
    I build php MySQL database driven sites all day long, and over the last year i have noticed that when using safari and "Only Safari"... If i post a form which submits data to the database the page hangs for about a minute and then ends up on a blank page. (the data was successfully submitted to database though)
    This does not happen for any other browser, only safari. It happnes on at least 10 sites i have built. i thought it was an quirky issue with my computer, but now it is happening to a client.
    also this, doesnt happen to any ASP sites I build, only safari and php/mysql
    My safari is 2.0.4

    Hi,
    From your Safari menu bar click Safari / Preferences then select the Extensions tab. If you have any installed, then turn off, restart Safari. Try a site that uses web based forms.
    If it's not Extensions causing this, from the menu bar again, click Safari / Preferences - Autofill.
    Click the Edit button next to *Other forms*
    Click: Remove All then click Done.
    Restart Safari. Try again. If that didn't help, back to the menu bar, click Safari / Reset Safari. Select the top 7 buttons, click Reset. Restart Safari. Try again...
    Carolyn

  • Free 20Mb database for website

    Hi,
    I can see how to add a Free 20Mb SQL database to Windows Azure Mobile service. Can I create a free 20Mb SQL database for website use, I see it is detailed on the pricing page for websites, but I cannot see any option in the management portal in the websites
    section or the database section to create this / these 20Mb SQL databases.
    Update: I can also see how to link to the DB created in the mobile service in the Linked Resources. So not a hinderance I guess, just not intuitive to me. 
    I'm probably missing something simple :-(
    Paul

    Ok so here is how i did it!
    Create Mobile Service with a free 20MB database. I used North Europe
    Create an application in Visual Studio (select host in Azure and ensure authentication is selected)
    Publish your site and ask it to create a website in azure for you
    When publishing your site, in the settings section, you can insert a DB connection string there. Ensure the site is created in the same region as the database else your site will be slower and you will be charged for bandwidth (i found this out in
    azure when playing around with creating a mobile service and database)
    Go into azure and select your database then "show connection strings"
    Copy the string, put your password in and paste into visual studio before publishing.
    Test it and it should work. If it doesn't, in Azure, you can add a firewall rule in the same window you copied the db connection string from.
    Publish your site
    In Azure, go to your website then select linked services and ensure ONLY your free database is in there. I found it sometimes creates a GB database. You don't want that in there as it charges you as you populate it.
    Then again in your website area, go to "Configure" and scroll down to connection strings
    Paste your conn string in there as well as a key value. The key being the conn string name in visual studio web.config and the value being the conn string
    Thats all I did and it works.
    http://digitalquarter.azurewebsites.net/

  • Need help connecting to database on website!!!!

    Hi there
    I am doing a school project and have decided to make a database which i can store user info and car info (its a car auction program)
    But i am having trouble with the connection to the database... we have been told to use jdbc odbc connection so is there a way to use this method to connect to my database?
    this is my connection code when connecting to the database locally:
    con = DriverManager.getConnection("jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=CarDealership.accdb");
    i omitted the other code because it is pretty standard code to do this connection.
    But now i want to connect to a database of the same name on this site:
    sites.google.com/site/card3al3rsh1p
    what must i change in my code to be able to connect to the database on the internet????
    please please plssssssss help me really want to get this to work
    thanks and regards

    OK I apologise and realise I was in a rush. I will try explain more clearly now.
    I am using Netbeans 7 and am having troubles connecting my java program to a Microsoft Access database which is on this website:
    sites.google.com/site/card3al3rsh1p/
    The database name is "CarDealership.accdb".
    When I use the class below to connect to my database locally, it is a success.
    import java.sql.*;
    public class DB {
    Connection con;
    Statement stm;
    ResultSet rs;
    public DB(){
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con = DriverManager.getConnection("jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=*CarDealership.accdb*");
    } catch(Exception ex){
    System.out.println("Error opening database.");
    System.out.println(ex);
    System.out.println("Database successfully opened.");
    However, when I change the bold text above (or the text between the asterisks, not sure if it will change) to "sites.google.com//site//card3al3rsh1p//CarDealership.accdb" it throws an error signifying that it can't find the file specified.
    I am unsure of how to connect my program to an external file so I need assistance in how to change the url String of the DriverManager.getConnection() method above so it can connect to the database on the website mentioned above. I would appreciate it if you could assist and thanks.

Maybe you are looking for