473,738 Members | 6,042 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

v General question about Perl/CGI/.jsp etc...

knowing only how to do C# web apps and nothing about the other standards out
there....
anyone care to enlighten me about how CGI works? are (Perl and CGI the same
thing) is it just a language that the user manipulates to churn out strings
of HTML (a la classic ASP) or does it have a framework and object model?

similarly how do .jsp pages work?, is that part of a framework or again does
it just directly require the user to churn out HTML response strings for the
browser?

finally
Ruby on Rails...everyth ing I've seen about this language is baffling, how on
earth does this language work with regards to generating web pages?

Any info or links to informative URLs highly appreciated.

Regards
CharlesA
Jun 1 '06 #1
3 1405
> knowing only how to do C# web apps and nothing about the other standards out
there....
anyone care to enlighten me about how CGI works? are (Perl and CGI the same
thing) is it just a language that the user manipulates to churn out strings
of HTML (a la classic ASP) or does it have a framework and object model?

similarly how do .jsp pages work?, is that part of a framework or again does
it just directly require the user to churn out HTML response strings for the
browser?

finally
Ruby on Rails...everyth ing I've seen about this language is baffling, how on
earth does this language work with regards to generating web pages?

Any info or links to informative URLs highly appreciated.

Regards
CharlesA


CGI is just e generic term (sorry, forgot what it stands for) for
anything that "accepts an http request" and then "generates an http
response", using code that runs besides the webserver (as opposed to
static content that is server as-is by that webserver).

Perl is just one of the languages that you could use in that case (but
I've also used Korn-shell scripts).

JSP (at least the way *I* used it a while back) is similar in
functionality to ASP (generating html directly with implicit or
explicit response.write' s), apart from running as compiled java code
(with of course access to the java libraries) instead of interpreted
script.

I don't know about Ruby.

Hans Kesting
Jun 1 '06 #2
Ruby is an object oriented scripting language. much like javascript and
python its supports anonymous (lambda) functions, closure, and dynamically
adding methods and properties to an object, and doesn't require declaration
of variables. It also allows loading extenstion libaries.

Ruby on Rails is a Ruby extension framework for building web pages. it uses
the MVC pattern, and has a builtin AJAX library and database handling
routines. It makes extensive use of Ruby's runtime dynamic nature.

Currently C# is too typed to complete with Ruby, but the next release is
more competitive, by adding lambda functions, closure (though with some
limitations), and dynamic properties.
-- bruce (sqlwork.com)

"Hans Kesting" <ne***********@ spamgourmet.com > wrote in message
news:mn******** *************** @spamgourmet.co m...
knowing only how to do C# web apps and nothing about the other standards
out there....
anyone care to enlighten me about how CGI works? are (Perl and CGI the
same thing) is it just a language that the user manipulates to churn out
strings of HTML (a la classic ASP) or does it have a framework and object
model?

similarly how do .jsp pages work?, is that part of a framework or again
does it just directly require the user to churn out HTML response strings
for the browser?

finally
Ruby on Rails...everyth ing I've seen about this language is baffling, how
on earth does this language work with regards to generating web pages?

Any info or links to informative URLs highly appreciated.

Regards
CharlesA


CGI is just e generic term (sorry, forgot what it stands for) for anything
that "accepts an http request" and then "generates an http response",
using code that runs besides the webserver (as opposed to static content
that is server as-is by that webserver).

Perl is just one of the languages that you could use in that case (but
I've also used Korn-shell scripts).

JSP (at least the way *I* used it a while back) is similar in
functionality to ASP (generating html directly with implicit or explicit
response.write' s), apart from running as compiled java code (with of
course access to the java libraries) instead of interpreted script.

I don't know about Ruby.

Hans Kesting

Jun 1 '06 #3
In article <mn************ ***********@spa mgourmet.com>, Hans Kesting
<ne***********@ spamgourmet.com > writes
CGI is just e generic term (sorry, forgot what it stands for)


Common Gateway Interface

;-)

--
Alan Silver
(anything added below this line is nothing to do with me)
Jun 5 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2676
by: Christopher | last post by:
I am trying to find out if there is similar functionality as Perls Config::General module in PHP. I would like to do this project in PHP and need to read in a conf file that the Perl module uses. Here is the link to the module for Perl: <http://search.cpan.org/~tlinden/Config-General-2.24/General.pm> I have tried searching on Config::General and PHP as well as generic config module for php, but the results weren't what I had hoped...
220
19111
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it seems that Ruby has the potential to compete with and displace Python. I'm curious on what basis it...
54
6568
by: Brandon J. Van Every | last post by:
I'm realizing I didn't frame my question well. What's ***TOTALLY COMPELLING*** about Ruby over Python? What makes you jump up in your chair and scream "Wow! Ruby has *that*? That is SO FRICKIN' COOL!!! ***MAN*** that would save me a buttload of work and make my life sooooo much easier!" As opposed to minor differences of this feature here, that feature there. Variations on style are of no interest to me. I'm coming at this from a...
1
3228
by: gcook | last post by:
Hi, I've got an old perl program running on my webserver - so old that I haven't used a perl programmer in about two years :) (we've gone all php for a variety of reasons). Anyway, I'm stumbling on a problem that I am almost certain is a problem with my inputs to the script. The program has a debug mode that is giving me some very weird results. Here's what the script does: It takes a spreadsheet like this: Column1 Column2 ...
6
1577
by: Örjan Skoglösa | last post by:
Hi all, My first posting here. I would be very thankful for a general advice about which "way to go" to accheive a certain arrangement on a web page. The page should show a list of items (a wishlist) with about 50 - 150 items, presented each one in a row in a table with e.g. 5 columns.
15
2010
by: John Salerno | last post by:
After my last post, I thought of another question as a result of the following: ------------------------------ Mike Meyer wrote: > John Salerno <johnjsal@NOSPAMgmail.com> writes: > > >>So my question is, is this feasible? >
8
1246
by: Smkmdb1 | last post by:
Hi everyone, I'm a student of ASP.net. Being an ex Perl/CGI programmer who made extra cash making scripts and selling them on the web, I was wondering if one typically uses this format with ASP.net? Do people typically follow the paradigm of making your software and selling the actual scripts/software (as was common with Perl/CGI), or do people typically use this to develop "service" oriented software, such as a developer hosting a...
67
4800
by: James Harris | last post by:
I have a requirement to store timestamps in a database. Simple enough you might think but finding a suitably general format is not easy. The specifics are 1) subsecond resolution - milliseconds or, preferably, more detailed 2) not bounded by Unix timestamp 2038 limit 3) readable in Java 4) writable portably in Perl which seems to mean that 64-bit values are out 5) readable and writable in Python
4
1547
crystal2005
by: crystal2005 | last post by:
Hello guys.... I'm newbie in Perl Language. So, in here i would like to ask several questions about Perl itself and not about the coding. I have been given a task to use Perl for directory comparison and synchronization. I have to implement Perl scripts that accept two directories as input, compare the files and sub-directories under these two directories, and generate a well formatted report as the output. Since I'm a beginner in Perl,...
0
8968
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9334
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9259
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6053
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4824
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.