Discussion | Articles | Blogs | Books | Contact Us | Chat | Shop | Search
  WrongPlanet.net
User Stats
   Members: 21,892
   Online Now: 462



People Online:
Visitors: 300
Members: 162
New Today: 13
New Yesterday: 18
Latest: emanon

Search
Google
Web WP.net



  Aspie Affection
Support Wrong Planet Awareness!
Eligible Odd-Bods! - The Aspergian Singles List 2008
Previous  1, 2, 3, 4, 5  
 
Post new topic   Reply to topic    Wrong Planet Forums Forum Index -> Love and Dating
View previous topic :: View next topic  
Author Message
aspergian_mutant
Learning to Walk


Joined: Oct 28, 2004
Posts: 1479

PostPosted: Mon Apr 07, 2008 7:29 pm    Post subject: Reply with quote

LoL, yes I know, but if I made it more like actual code then most others would not understand it.
Back to top
View user's profile Send private message
Tim_Tex
WP's Resident Simpsons and South Park Aficionado


Joined: Jul 03, 2004
Age: 28
Posts: 20883
Location: Central Texas

PostPosted: Tue Apr 08, 2008 6:22 am    Post subject: Reply with quote

I like the idea regarding sorting by interests. Belief systems should come into consideration as well (but this is coming from a guy who bases liberal vs. conservative on whether or not someone believes in sex before marriage).
_________________
When you need something, that's a responsibility, that only an adult...of my maturity...Bunnies!!!

~Meatwad, Aqua Teen Hunger Force
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
0_equals_true
Quack!


Joined: Apr 06, 2007
Age: 26
Posts: 4725
Location: London

PostPosted: Tue Apr 08, 2008 6:22 pm    Post subject: Reply with quote

aspergian_mutant wrote:
LoL, yes I know, but if I made it more like actual code then most others would not understand it.

Sorry what I meant is you don't need that code, you don't filter the data once it has been retrieved. You just need to retrieve the users parameters either stored or through other inputs then retrieve the relevant data for that user.

Technically you can do it do it in a single SQL statement. However it so happens that the performance is better using two+.

That is the beauty of relational databases, there is little need for that logic that you put. Standard SQL does have operators but it works a bit differently from 'normal' code, although many versions of SQL are extended enabling it to behave in similar ways to 'normal' code. But in this case that is not necessary.

So the code that you need is database related and to make sure the parameters are transfered from the result of first statement (stored user parameters), plus any custom parameters to the next statement (data matching the parameters ), making sure it is valid and safe. Then to output the results in the desired format/template.

This is purely in relation to viewing matched personal ads. The entire application would be much more than that.

php is the scripting language. It is quite scrappy but it just about works.
Back to top
View user's profile Send private message
aspergian_mutant
Learning to Walk


Joined: Oct 28, 2004
Posts: 1479

PostPosted: Tue Apr 08, 2008 9:20 pm    Post subject: Reply with quote

Kewl, perhaps I should learn it
PHP, SQL, JAVA, HTML.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Wrong Planet Forums Forum Index -> Love and Dating All times are GMT - 5 Hours
Previous  1, 2, 3, 4, 5  
Page 5 of 5

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Wrong PlanetTM Copyright 2004-2008, Alex Plank and Yellow Sneaker Media, LLC
Alex Plank  Aspie Affection 

Terms of Service - You must read this as a user of Wrong Planet

RSS Feed Add to Google Add to My Yahoo!

Subscribe: Wrong Planet News  Wrong Planet Forums

Privacy Policy

Asperger's is not a disease

fine art