Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 2nd Nov 2012, 10:43 PM   #1
HyperActive Warrior
 
Join Date: 2012
Posts: 256
Thanks: 42
Thanked 65 Times in 44 Posts
Default
Techie question from a non-techie
Share on: 
fb share twitter share gplus share more share

You are going to tell pretty quickly I'm not at all software/programming savvy!

Basically, I've seen sites whereby you can click various options of something (little round buttons to click in) and you are taken to the appropriate page.

For example - Jeans. You click the color of jeans you want from a choice of sizes, you click the waist size from a choice of waist sizes buttons, the inside leg etc., click search and hey-presto you are taken to a separate page with the jeans you want.

My question is; how is this done from the website builders point of view? What database software is behind it, and how would you go about building something like this? Wordpress is the only platform I have experience of btw.

Another way to explain my question is take this page: http://www.10best.com/destinations/c...ary/nightlife/ You can click the type of nightlife you want; club, bar etc. The type of entertainment etc. and then you are taken to the correct page. There are hundreds of combinations possible, what software is behind this?

Thanks, Brian.
StingGB is offline  
Unread 2nd Nov 2012, 11:05 PM   #2
HyperActive Warrior
 
Join Date: 2012
Posts: 256
Thanks: 42
Thanked 65 Times in 44 Posts
Default
Re: Techie question from a non-techie
Share on: 
fb share twitter share gplus share more share

Care to name any?
StingGB is offline  
Unread 2nd Nov 2012, 11:07 PM   #3
Banned
 
Join Date: 2011
Posts: 1,181
Thanks: 392
Thanked 155 Times in 137 Posts
Default
Re: Techie question from a non-techie
Share on: 
fb share twitter share gplus share more share

Originally Posted by DEaFeYe View Post

I can think of about 5 million ways to accomplish things like this...
And yet you don't answer his questions with even one of them.
lovboa is offline  
The Following User Says Thank You to lovboa For This Useful Post:
Unread 3rd Nov 2012, 01:04 AM   #4
HyperActive Warrior
 
Join Date: 2012
Posts: 256
Thanks: 42
Thanked 65 Times in 44 Posts
Default
Re: Techie question from a non-techie
Share on: 
fb share twitter share gplus share more share

At least you are doing something useful with your hands.

Can any of the usually friendly people on Warrior help me please?
StingGB is offline  
Unread 3rd Nov 2012, 02:30 AM   #5
Warrior Member
War Room Member
 
Join Date: 2011
Posts: 14
Thanks: 4
Thanked 7 Times in 2 Posts
Default
Re: Techie question from a non-techie
Share on: 
fb share twitter share gplus share more share

Since you are familiar with Wordpress, you can stick with PHP for the server-side code and MySQL for the database.

For client-side, standard HTML and Javascript (with maybe some jQuery if you need to spice things up) would be needed, as well as some CSS for the layout/styling.

If you have a Wordpress site, you can create a custom Wordpress plugin with the same functionality. Wordpress plugins all use the same technologies as I've mentioned above. The PHP code just has to be coded in a slightly different way.
ahmiz is offline  
Unread 3rd Nov 2012, 07:04 AM   #6
Active Warrior
 
oliviacis's Avatar
 
Join Date: 2012
Location: Sunnyvale, California
Posts: 75
Thanks: 0
Thanked 2 Times in 2 Posts
Default
Re: Techie question from a non-techie
Share on: 
fb share twitter share gplus share more share

Originally Posted by StingGB View Post

My question is; how is this done from the website builders point of view? What database software is behind it, and how would you go about building something like this? Wordpress is the only platform I have experience of btw.

Thanks, Brian.
The type of site you are talking about is called as ecommerce website.

The main thing involved in this is the Content management system i.e CMS. A CMS uses templates to control the display of your content -- that is, the way your content will look on a page. At the center of any CMS is some sort of repository, or content database, where the content is stored.

You might find this helpful: techsoup.org/learningcenter/webbuilding/archives/page9347.cfm
(in case you wish to get into details).

There are many CMSs available for building ecommerce sites, particularly. Examples include opencart, zen-cart and magento, magento being the best one(as per my knowledge).

oliviacis is offline  
Unread 3rd Nov 2012, 10:24 AM   #7
HyperActive Warrior
 
Ttrain's Avatar
 
Join Date: 2012
Posts: 117
Thanks: 8
Thanked 21 Times in 18 Posts
Default
Re: Techie question from a non-techie
Share on: 
fb share twitter share gplus share more share

@DEaFeYe that made me laugh, even though It didn't do much to answer the question.

@StingGB Before I explain quickly how its done, unless you want to learn how to program (which would be great) you should probably stick with a plugin or something because what your asking is easy if you know what your doing, but a headache if your just getting started. With that out of the way, here's one way to accomplish what your asking:

NIGHTLIFE EXAMPLE:

step 1) user comes to your website and fills out a form with different options. Lets say they entered "Pub, DJ's,Airport", under "Type,Entertainment,Neighborhood" respectively.

step 2) The data is sent to the server, which holds a script (which you would have created) that will most likely query(search) a database, based on the keywords entered.

step 3) the database searches for matching words. so it would look under a table called nightlife. with columns that probably said "Type,Entertainment,neighborhood".

step 4) The query would have been constructed based on the keywords that i mentioned above,so it would look something like this:

mysqli_query("SELECT 'ID' FROM nightlife WHERE Type = 'pub' AND entertainment ='dj's' .......LIMIT 10);

STEP 5) that very basic query would return up to 10 IDS (relative to what you searched for). Which are like credit card numbers. They're all unique. once you had those id's you would run another query that searched for those ID's in a different table (this could actually be optimized so it could all be done at once). that table would have a list of every option you could possibly search for. But you would only grab up to 10 of those, and there IDS would exactly match the ones returned from the first query.

STEP 6) from there your original script would just output the data on the page as html.

I probably confused the heck out of you because I confused myself a little writing this. But the basic idea is that user submits data - server processes data - script outputs data onto page.
Ttrain is offline  
Unread 3rd Nov 2012, 11:59 AM   #8
Social Apps Made Easy
War Room Member
 
FirstSocialApps's Avatar
 
Join Date: 2012
Location: Mooresville, NC
Posts: 913
Thanks: 231
Thanked 259 Times in 213 Posts
Default
Re: Techie question from a non-techie
Share on: 
fb share twitter share gplus share more share

Originally Posted by StingGB View Post

Basically, I've seen sites whereby you can click various options of something (little round buttons to click in) and you are taken to the appropriate page.
.
Are you talking about radio buttons with an onclick redirect?

<input type="radio" onclick="window.location='yoururl';">

FirstSocialApps is offline  
Unread 4th Nov 2012, 08:52 PM   #9
HyperActive Warrior
 
Join Date: 2012
Posts: 256
Thanks: 42
Thanked 65 Times in 44 Posts
Default
Re: Techie question from a non-techie
Share on: 
fb share twitter share gplus share more share

Thanks everyone for your help, some ideas I can get my teeth into. & yes, FirstSocialApps, just cut & pasted that html, and what I now know are called Radio Buttons are exactly what I was talking about. Just got to figure out how to organize the data behind them now!
StingGB is offline  
Unread 5th Nov 2012, 05:38 PM   #10
squizmore guru
War Room Member
 
Bryan Zazz's Avatar
 
Join Date: 2012
Location: Delta Quadrant
Posts: 200
Thanks: 124
Thanked 88 Times in 60 Posts
Default
Re: Techie question from a non-techie
Share on: 
fb share twitter share gplus share more share

Originally Posted by StingGB View Post

My question is; how is this done from the website builders point of view? What database software is behind it, and how would you go about building something like this? Wordpress is the only platform I have experience of btw.

Another way to explain my question is take this page: Calgary Nightlife: Night Club Reviews by 10Best You can click the type of nightlife you want; club, bar etc. The type of entertainment etc. and then you are taken to the correct page. There are hundreds of combinations possible, what software is behind this?

Thanks, Brian.

If you want to see how a page works, I usually right-click it, and select the "view page source".
Most of that on-page magic is done by a little library called jquery.

DB? Can't really say what's going on behind the curtains there. MySQL is a popular choice
for web sites, so here's a hint for you. But this doesn't really matter: all DBs (RDBMS) speak SQL,
so as long as you can talk SQL, any DB will do (more or less)

More specifically to your question, 2 softwares are "behind" the process of clicking
links and seeing stuff changing on screen:
  • your browser (FF, Chrome, etc)
  • some http/s server (Apache, or other)
Basically you clicking a link makes your browser send a "request" to the server
living at that URL (technically: the server listening to ports 80 or 443).
The server then sends your browser a "response", and displays it to you.
That's it in a nutshell...

Bryan Zazz is offline  
Closed Thread


Bookmarks

Tags
nontechie, question, techie


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 08:11 AM.