LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-30-2009, 01:12 AM   #1
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Rep: Reputation: 52
searching xml data from html page : listing results


Good morning.

I am building a website for a property lettings agent. Their database uploads an XML file to my server. I want to integrate the data in a "property for let" page and make this searchable by 3 areas : postcode/zipcode , number of rooms , price. There aren't really that many properties (currently 40) but the number will grow. I also want to filter out "random" properties to display on other pages eg "latest 3 listings" and "random property."

What are my options?

I hope this makes sense. I only need pointing in the right direction for the moment.

Many thanks.

Stephen
 
Old 06-30-2009, 08:18 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
One accepted practice uses the so-called three-tiered Model-View-Controller paradigm, which is implemented with a back-end database such as MySQL, PostgreSQL, Oracle, etc (the model), a web server such as Apache (with a browser, the view), and some application-specific CGI or PHP code (the controller). A Google search for Model View Controller (MVC) should yield a plethora of information to use as a starting point.
Your application will require you to populate the database from the uploaded XML, and then create HTML pages with content extracted from the database, using your application-specific CGI/PHP code. Extracting from and updating the information in the database would be done using SQL queries embedded in your code. It is difficult to be more specific than this without more details of your application.

--- rod.
 
Old 06-30-2009, 09:18 AM   #3
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Slackware Ubuntu
Posts: 1,082

Original Poster
Rep: Reputation: 52
Thanks. I suspected MySQL, Apache and PHP. Time to get my fingers dirty with something new.........
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I output information from a PHP page to an HTML page? SentralOrigin Programming 3 01-10-2009 01:54 AM
writing xml data into html tables kshkid Programming 2 05-22-2008 06:51 AM
RAID5 data rebuilding by mdadm results in corrupted data! rtyagi Linux - Newbie 0 03-26-2008 01:59 AM
Searching for an XML database... crosseyedalien Linux - Software 1 10-26-2007 03:10 PM
RSS XML File to be read and generate HTML page redhatrosh General 10 02-15-2006 02:16 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration