Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Newb Question

Name: Anonymous 2012-07-30 14:23

I want to build a program but am unsure of where to start. I want to build something that would allow a user to enter different options/preferences and upon hitting the search button, it would pull like results from several in house databases. I'm not expecting this to happen overnight with my lack of skills but would just like a good starting point.

Name: Anonymous 2012-07-30 14:25

Perl::Dancer

Name: Anonymous 2012-07-30 14:27

It is trivial. What database system are you using (or planning to use)?

Name: Anonymous 2012-07-30 14:59

I'm not sure about database systems either. Any suggestions? I'm really starting from the ground floor on this.

Name: Anonymous 2012-07-30 15:01

so a search engine?

Name: Anonymous 2012-07-30 15:07

Slightly. Let's say that you wanted to buy a 4x4 yellow cube. In the dimensions field you would enter 4x4, in the color field, you would enter yellow and in the shape field, you would enter cube. Using those parameters i want to pull information from said databases that match with the search.

Name: Anonymous 2012-07-30 15:17

Then you're just looking at constructing a database query programmatically, using the input values from the customer. Like adding in a "color = <color>" filter and such into the selection process.

Name: Anonymous 2012-07-30 15:19

>>6
I think you'll be able to do that with any tutorial on SQL for beginners.

Name: Anonymous 2012-07-30 15:20

That makes sense. Any suggestions on what i should be using to do all this?

Name: Anonymous 2012-07-30 15:28

>>9
DB-wise? Or language-wise for the code?

Name: Anonymous 2012-07-30 15:31

Both?

Name: Anonymous 2012-07-30 15:56

>>11
Well is this going to be an application that will be run natively? Or is it going to consist of webpages that are accessed from a server on the local network / run from a public company website?

Name: Anonymous 2012-07-30 16:13

This is really easy, you can do it overnight, it almost looks like natural language:

-- Create your table
BEGIN TRANSACTION;
CREATE TABLE Cars(Id integer primary key autoincrement, Name text, Dimension text, Color text);
INSERT INTO Cars VALUES(1, 'Jeep Cherokee', '4x4', 'Brown');
INSERT INTO Cars VALUES(2, 'BMW M3', 'Coupe', 'Red');
INSERT INTO Cars VALUES(3, 'Mercedes E350', 'Cabriolet', 'Black');
COMMIT;
-- Then query it
SELECT * FROM Cars WHERE dimension like '4x4';
-- You get:
-- 1|Jeep Cherokee|4x4|Brown

Name: Anonymous 2012-07-30 16:32

>>13
Tsk tsk, "Dimension text" then "WHERE dimension". Consistency would be nice, bro.

But yeah, >>1-kun, you can see it's quite easy.

Name: Anonymous 2012-07-30 16:42

>>14
And "like" is not properly capitalized.

Name: Anonymous 2012-07-30 17:47

>>15
Oops, yeah, and in the CREATE TABLE statement he's not capitalizing INTEGER, PRIMARY KEY, AUTOINCREMENT, or TEXT either.

Name: Anonymous 2012-07-30 23:14

>>14
Niggers niggers.

Name: Anonymous 2012-07-30 23:15

>>17
in text boards its polite to sage!

Name: Anonymous 2012-07-30 23:44

SQL considered harmful. Just use XML files.

Name: Anonymous 2012-07-31 0:51

>>19
XML considered harmful, just use Sexp files.

Name: Anonymous 2012-07-31 1:03

>>20
10 gigs of parens

Name: Anonymous 2012-07-31 1:07

>>21
100 gigs of closing tags

Name: Anonymous 2012-07-31 5:37

>>20
Lay all your Sexp on me

Name: Anonymous 2012-07-31 5:45

>>20
Sexp considerd harmful. Just use HTML61.

______________________
1. http://xahlee.info/comp/html6.html

Name: Anonymous 2012-07-31 5:57

what's le problem with

(?xml [version "1.0" encoding "utf-8"])
(feed [xmlns "http://www.w3.org/2005/Atom" xml:base "http://xahlee.org/emacs/"]

  (title Xah's Emacs Blog)
  (subtitle Emacs, Emacs, Emacs)
  (link [rel "self" href "http://xahlee.org/emacs/blog.xml"])
  (link [rel "alternate" href "http://xahlee.org/emacs/blog.html"])
  (updated 2010-09-19T14:53:08-07:00)
  (author
   (name Xah Lee)
   (uri http://xahlee.org/)
  )

  (id http://xahlee.org/emacs/blog.html)
  (icon http://xahlee.org/ics/sum.png)
  (rights © 2009, 2010 Xah Lee)

  (entry
   (title Using Emacs's Abbrev Mode for Abbreviation)
   (id tag:xahlee.org,2010-09-19:215308)
   (updated 2010-09-19T14:53:08-07:00)
   (summary tutorial)
   (link [rel "alternate" href "http://xahlee.org/emacs/emacs_abbrev_mode.html"])
  )
)


???????

Name: Anonymous 2012-07-31 8:12

>>24
holy shit what a massive faggot.

Name: Anonymous 2012-07-31 16:26

>>25
The problem is it ain't LISP

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List