4 Replies - 935 Views - Last Post: 19 February 2013 - 12:30 PM

#1 AIintern  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 53
  • Joined: 06-June 12

How should I get started?

Posted 19 February 2013 - 09:59 AM

I need to develop a software that compares overall rates for hotels on multiple websites(Like KAYAK.com).

Can anyone give me any advice on where to start? What I will need to do? or How to do it?

I know this is a very vague question, but anything helps. Thank you guys
Is This A Good Question/Topic? 0
  • +

Replies To: How should I get started?

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8371
  • View blog
  • Posts: 31,097
  • Joined: 12-June 08

Re: How should I get started?

Posted 19 February 2013 - 10:03 AM

I would start by talking to each of the companies you plan on comparing rates with and see if they have an API or web service available.

You know.. because most booking sites have terms of use that discourage you from just scraping their sites.

Example - orbits

Quote

Unless otherwise provided within these Terms, or unless specific applicable law requires Orbitz to allow you to do so, you may not do any of the following without the prior written consent of Orbitz:

Use any robot, spider, other automatic device, or manual process to monitor Content;

http://www.orbitz.co...tions#useofsite
Was This Post Helpful? 1
  • +
  • -

#3 jon.kiparsky  Icon User is offline

  • Pancakes!
  • member icon


Reputation: 7292
  • View blog
  • Posts: 12,101
  • Joined: 19-March 11

Re: How should I get started?

Posted 19 February 2013 - 10:07 AM

If you just want to develop the software that talks to such an API, I would start by mocking up that API. modi's right: Orbitz isn't going to let you just start scraping their data, but if you know what their API provides, you can generate pseudo-data against which to develop.
Or, assuming this is a school project, you might consult the teacher who gave you the assignment, they're probably better situated to offer you advice than we are.
Was This Post Helpful? 1
  • +
  • -

#4 AIintern  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 53
  • Joined: 06-June 12

Re: How should I get started?

Posted 19 February 2013 - 10:25 AM

Thank you for the quick reply! I will have to check into that.

Here is my game plan, let me know if you think it will work.

Develop a list of hotels to check into, then have a calender next to it.

Underneath that I will have the websites that we are legally allowed to look at and set up variables that directly send you to that travel sites rate page.

For example if we check for
"The Blue Hotel" for dates March 1st 2013- March 4th 2013 and on the site we check the link shows

.com/The.Blue.Hotel/Dates#3#1#2013-Return#3#4#2013

I would set variables such as
"If xxxx Is clicked send to XXXX.com/VAR"."VAR1"."Var2"/"VarDate"#"

I think I am explaining this horribly.

But do you guys get where I am coming from?

Suggestions, comments, criticism?

All are greatly appreciated

Thanks guys!
Was This Post Helpful? 0
  • +
  • -

#5 tlhIn`toq  Icon User is online

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5316
  • View blog
  • Posts: 11,355
  • Joined: 02-June 10

Re: How should I get started?

Posted 19 February 2013 - 12:30 PM

It sounds very much like all you know is how to drag-n-drop controls from the toolbox. Your entire explanation is about the layout of the page and not the logic of the program - and something stressed a lot is that the GUI comes last.

As soon as I read "If xxx is checked" I immediately realized you are going to do..
if (radioButtonPricelise.Checked) // DoThis()

Meaning you aren't going to build this with objects and properties.
So from the very start you're already hosed due to bad design.

You should work on learning the coding language more especially foundation concepts like Object Oriented coding practices. Then work on some less ambiguous projects to get your program architecture skills up, before taking on something this big.



My standard beginner resources post - Updated JAN 2013


Plan your study route:
There are three routes people seem to take when learning programming.
  • Just start trying to create programs
  • Start taking apart other programs and try to figure out the language by reverse engineering
  • Follow a guided learning course (school or self-teaching books)


For the life of me I can't figure out why people try 1 & 2. I strongly suggest taking the guided learning approach. Those book authors go in a certain order for a reason: They know what they're doing and they know the best order to learn the materials.

  • First learn the language by working 2-5 "Learn C# in 30 days" type books cover to cover.
  • Do a dozen on-line tutorial projects where you build what you're told to build, the way you are told to build it WITH AN EXPLANATION OF WHY so you can learn.
  • Learn to plan before you type.
  • THEN you start designing software with a purpose.



I don't learn from reading books: I learn by doing.
Spoiler


Newbie/Rookie said:

I have little/no programming experience but I need to write a program by Friday that does XYZ.
Spoiler



Resources, references and suggestions for new programmers.
Spoiler

Was This Post Helpful? 1
  • +
  • -

Page 1 of 1