Thread Rating:
  • 407 Vote(s) - 2.95 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why is curl being used ?
11-29-2011, 10:36 PM,
#1
why is curl being used ?
With the advent of HTML5 as we know it , why do you think one should use curl ?
11-30-2011, 04:29 PM,
#2
RE: why is curl being used ?
I think the "as we know it" is an important qualifier there... Smile

HTML 5 theoretically addresses some challenges pretty well, but it doesn't do everything, and not everything it does do is done well. (Like any platform.) Some people evaluate the tradeoffs and go with HTML; SCSK's customers have instead gone with Curl. Some of those have case studies available that may better explain how each approached their particular software engineering challenge -- though I should note that these are primarily in Japanese.
12-09-2011, 06:28 AM,
#3
RE: why is curl being used ?
One case for Curl is to have one language instead of HTML+JavaScript+CSS.

In the case of specialized markup, light-weight Curl markup can be a very strong candidate.

For literary markup, what HTML/XML can compete with

{poem
Our Ditty,
{verse
We use Curl because it's swell:
It does our markup very well -
}
{verse
with no end tags on which to dwell
there is an advantage as you can tell.
}
}

where the behavior of {verse } can be as simple or rich as you like.
Changes do not require changing the source file.

The expression {verse } can be a text format expression for font and such or a procedure returning a ParagraphVisual with line-numbering, live annotation entry fields etc. It can include translations or suppress translations with minimal effort.

And then there is security. Poems are trivial. Internal documents may not be. Curl comes with powerful libraries (rather like Smallalk.)

Add to that strong abilities with overlays, grids, sizing ...

I liken Curl compared to JavaScript a bit like Smalltalk compared to Java: a question of lines of code required, maintainability and simple readability. Smalltalk continues to be used in banking, finance and telecom because of those strengths - Curl, the same. As the former moves to the web, the latter moves to desktop appliations.

Hopefully Curl arrives on the server-side in time to be fairly compared to server-side JavaScript (in which ever form it finally takes.)

Of historical interest: while Curl relates to LISP at MIT, Netscape's JavaScript relates to Smalltalk via the Self language and the Strongtalk team from an outfit acquired by Sun.

Niche languages do persist: Prolog (especially with CLP or CHR) is one. Even the UNICON variant of ICON would appear to be used in a US gov't project of long-standing.

Btw, it appears that HTML5 will be, well, just whatever "HTML" evolves to be. But without JavaScript/ECMAScript/CoffeeScript what do you have for business or domain-specific needs ?

And now Curl has a Java ORB available.

Note: just like Smalltalk, many large corporations with Curl on PC desktops do not widely advertise the fact due to the nature of the application or for reasons of competitive advantage - so it is not always obvious just how many Fortune 500 corp's have mission-critical app's in these "niche" languages.
Robert Shiplett, Curlr
Fredericton NB

Canada
12-09-2011, 06:34 AM,
#4
RE: why is curl being used ?
One try of the "live" code in the documentation might convince you that Curl is a serious option compared to HTML5 + JavaScript for advanced applications. Then there is the excellent debugger ... and now a testing framework, DB interface libraries, asynchronous facilities which are mature ...
Robert Shiplett, Curlr
Fredericton NB

Canada
12-09-2011, 01:52 PM,
#5
Wink  RE: why is curl being used ?
Cool poem, I tried creating your peom here :p


Code:
{define-text-format public poem as paragraph with
  paragraph-justify = "center",
  color="black",font-weight="bold"
}
{define-text-format public verse as pre with
  paragraph-justify = "center",
  color="black", font-style="italic"
}

{poem
  Our Ditty,
  {verse
    We use Curl because it's swell:
    It does our markup very well -
  }
  {verse
    with no end tags on which to dwell
    there is an advantage as you can tell.
  }
}


Attached Files
.png   Curl Example_2011-12-09_13-53-14.png (Size: 33.8 KB / Downloads: 681)
12-10-2011, 06:55 AM,
#6
RE: why is curl being used ?
(12-09-2011, 01:52 PM)heavybugtracker Wrote: {poem || minor alterations for text-formats ONLY version and punctuation
Our Ditty
{verse
We use Curl because it's swell:
It does our markup very well -
}
{verse
with no end tags on which to dwell,
there\'s an advantage, as you can tell.
}
}
|| I have many examples at http://poets.aule-browser.com and large texts at http://phil.aule-browser.com

Robert Shiplett, Curlr
Fredericton NB

Canada


Possibly Related Threads...
Thread Author Replies Views Last Post
  Curl execute Oracle database procedure NamDH 3 4,054 04-21-2017, 03:40 PM
Last Post: tdeng
  TLS通信下でCould not deserialize the object from Curl.発生 MIT 3 4,767 03-10-2017, 08:35 AM
Last Post: MIT
  Protecting SSL private key in a Curl script aensys 1 2,363 02-10-2017, 02:02 PM
Last Post: heavybugtracker
  curl library 7.36.0: curl_easy_perform() function call failed when used for getting a joezhao 1 3,632 10-19-2016, 09:41 AM
Last Post: dyoshida
  Curl IDE からのランチャが見つかりません umemura 1 3,771 06-30-2016, 10:12 AM
Last Post: umemura
  Curl RTE Install smtit 1 2,738 05-06-2016, 12:36 PM
Last Post: dice256
  Curl RTE Command line smtit 1 2,917 04-19-2016, 09:35 AM
Last Post: dice256
  What OS that CURL can support for deloyment? tiennv 1 4,574 08-22-2015, 02:12 AM
Last Post: tdeng
  Curl RTEのPPAPIプラグインについて でり 1 4,398 06-09-2015, 11:03 AM
Last Post: でり
  cURL Client app Michael-2015 1 3,852 04-16-2015, 12:27 PM
Last Post: dyoshida
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('355')