This Question is Assumed Answered

1 "correct" answer available (5 pts) 15 "helpful" answers available (3 pts)
5 Replies Last post: Mar 21, 2008 7:17 PM by RMH

Pre-requisite to learn Curl

Feb 24, 2008 2:52 AM

Click to view danieltanpt's profile Level 1 danieltanpt 1 posts since
Feb 24, 2008

Hi,

I am interested to learn how to build applications in Curl. But I am not sure how to get started.

I have only done "programming" using simple TCL/TK, C, BASIC. I have done very simple Java and do not know much about OO.

I know nothing about AJAX.

What are the pre-requisites to learn Curl? I can do simple Curl applications but it is through trial and error.

Thanks,

Daniel

Click to view cbarber's profile Curl cbarber 72 posts since
Sep 27, 2007
1. Re: Pre-requisite to learn Curl Feb 25, 2008 6:47 AM
I don't think there is a single correct answer to this question. A lot will depend on your own personal learning style. Personally, I usually like to direct my own learning around a particular task I am trying to accomplish, such as a particular type of program I want to write. Do you have an application in mind? If so, perhaps you can break it down into components and learn how to build those.

I would definitely take full advantage of the tutorials here on the training center and also the Curl Developer's Guide. I find that the live examples in the Developer's Guide are extremely valuable for experimenting with concepts.

You don't have to have any AJAX experience at all to make good use of Curl, but I would recommend that you find a good book or two on Object Oriented programming, since we don't have much documentation explaining the principles of Object Oriented Design. I am not sure what are considered the best language-neutral books on that topic these days.
Click to view URPradhan's profile Level 6 URPradhan 108 posts since
Mar 6, 2008
2. Re: Pre-requisite to learn Curl Mar 6, 2008 12:46 AM
Well being you are from Tcl/Tk, C, BASIC it will you help you to learn Curl as Curl is the mixture of HTML, JavaScripts, Visual Basic, Ajax, C++, OOPs, etc ....

So, just download the recent Curl IDE (whcih will install the Curl Run Time Environment RTE) and create a new Applet project and write "Hello Curl"


You are done with your first Curl application !


Then gradually learn the language basics like data types, variable, opearators, text formating, UI controls, etc ....


The Curl IDE has COMPLETE language reference in its Help menu.


BOL


Thanx

Click to view RMH's profile Curl RMH 42 posts since
Feb 17, 2008
3. Re: Pre-requisite to learn Curl Mar 6, 2008 5:38 AM
Hi Daniel,

Welcome! Starting with the Curl IDE is a good idea. I would suggest, however, that you actually start by downloading the RTE and going through the Curl Cues first. The Curl Cues are short tutorials that don't require the IDE - in fact you can test your code right in the web page you are reading. It's pretty cool and a very easy way to get started. So, to get started download and install the RTE and then go to the Curl Cue page and just start with the first tutorial and work your way down. Once you've done the Curl Cues you'll be ready to start learning with the IDE.

Curl Cues
http://developers.curl.com/docs/DOC-1113

I hope that helps,

Richard
Click to view ram's profile Level 1 ram 4 posts since
Mar 21, 2008
4. Re: Pre-requisite to learn Curl Mar 21, 2008 5:13 PM

Seems to me there are two shortcuts that work well for jumpstarting the learning of Curl.


If you know HTML - you pretty much know to program marked up content in Curl - just using "{bold 'whatever'}" instead of "<b>whatever</b>"


If you know lisp - you pretty much know how to program in curl too - mostly swapping '{' for '('.

Click to view RMH's profile Curl RMH 42 posts since
Feb 17, 2008
5. Re: Pre-requisite to learn Curl Mar 21, 2008 7:17 PM
in response to: ram
Great insight, ram. Thank you. I think the Curl Cues are stil the best place to start - if the information is easy you'll burn through them quickly. For example, I know HTML 1.0 really well (back in the day I was an HTML junky) but I don't know lisp so as the tutorial moved in to programming, as opposed to markup, I had to slow down.