|
-
Dec 9th, 2001, 11:37 AM
#1
Thread Starter
Hyperactive Member
What are the differences?
Whats better?
My company is going to train me to develop web applications. What are the advantages and disadvantages of the diferent tools, and languages? Whats the difference between Java and Javascript, etc?
I use Oracle as my Database and I am DBA and Visual Basic Developer.
Thanks for you comments.
-
Dec 9th, 2001, 01:18 PM
#2
Fanatic Member
Java and JavaScript are two very different things, despite the similarity of the names. JavaScript is a scripting language you can use for little things like submitting forms, asking for input, etc. It's all client-side. Java, on the other hand, is an actual programming language that you have to compile before it can be run. Then you put these mini-programs, called applets, in web pages, and you can generate dynamic content from a database or even write a small game. So, it really depends on what you want to do.
Alcohol & calculus don't mix.
Never drink & derive.
-
Dec 9th, 2001, 01:22 PM
#3
Fanatic Member
And for server-side scripting languages, these are the "main three":
1. Perl: Pretty good. Uses CGI, but you need to have a line to print out each HTML line.
2. ASP: Also pretty good. Pros are you can easily embed it into HTML and the language will be easy for you to learn if you are a VB developer. Cons are it only runs on IIS and it's slow.
3. PHP: The best in my opinion. Also easy to use especially if you know some C, and it is very fast and runs on any machine. You can also use special tags like ASP to embed code into HTML.
Alcohol & calculus don't mix.
Never drink & derive.
-
Dec 9th, 2001, 02:21 PM
#4
Thread Starter
Hyperactive Member
Hello Wynd, this is the main objective:
I have developed a large application (800 pages of printed code) using Visual Basic 6, Oracle 8i as database and Seagate Crystal Reports for reporting and generating Word and Power Point documents within the app. This app is currently working for more than 250 users in 6 cities.
I interact with PL/SQL stored procedures from the VB code and with the Crystal Reports reports, modifying the SQL query for the reports at run-time.
My boss want to "put" this app into the web. This is, he wants to develop another app which does exatcly the same but running on a web browser. This is because is very hard to deploy a new version due to the distance between the users. And the app is being added with new features continously.
He asked me for the courses I need to take and the products he needs to buy to do all this.
Ulises Vázquez
[size=1.7]Oracle DBA Certified Professioanl
Visual Basic 6 Developer
Crystal Reports Designer
[/size]
-
Dec 9th, 2001, 02:39 PM
#5
Member
Originally posted by Wynd
And for server-side scripting languages, these are the "main three":
4. JSP, integrates Java with HTML.
-
Dec 9th, 2001, 10:23 PM
#6
Fanatic Member
Yeah, well...uhhh... *runs away*
Alcohol & calculus don't mix.
Never drink & derive.
-
Dec 13th, 2001, 09:16 AM
#7
Member
Also JSP actually gets compiled the first time and is then cached for subsequent requests (until it is updated then the process begins again) so the pages are slow the first hit and extremely fast after that. Compare this to say ASP (which runs on the scripting engine either in VB Script or JScript). Each time you request the page, it is compiled on the fly. And therefore slower
DJ
-
Dec 13th, 2001, 09:21 AM
#8
Conquistador
i agree with wynd, php is the best
-
Dec 13th, 2001, 09:31 AM
#9
Frenzied Member
Originally posted by daveejay
Also JSP actually gets compiled the first time and is then cached for subsequent requests (until it is updated then the process begins again) so the pages are slow the first hit and extremely fast after that. Compare this to say ASP (which runs on the scripting engine either in VB Script or JScript). Each time you request the page, it is compiled on the fly. And therefore slower
DJ
I had always heard ASP will cache the page. Anyone have any doco on this?
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Dec 13th, 2001, 09:55 AM
#10
Member
-
Dec 13th, 2001, 09:59 AM
#11
Member
My Bad, wrong terminology ASP is indeed cached but not compiled first, I bow down to Ciber's great intelligence ;-)
I found the following which may shed some light.
Active Server Pages (ASP), is an open, compile-free application environment in which you can combine HTML pages, scripts, and ActiveX server components to create powerful Web-based business solutions. ASP 1.0 ships with IIS 3.0, while ASP 2.0 ships with IIS 4.0. There are other topics that cover ASP 2.0 related information such as ADO 1.5, IIS 4.0, ASP Applications, ASP Sessions, and Active Components. If you are looking for an answer to an error message you might want to look in the Errors Topic.
Source: http://www.15seconds.com/faq/ASP%202.0/default.htm
-
Dec 13th, 2001, 10:26 AM
#12
Frenzied Member
Nah, I was just reading the differences between ASP and PHP. And I understand they both cache, but ASP calls on a seperate scripting engine (WSH or ISAPI?), while PHP is interpreted by the web server.
I could be remembering that wrong. But I do remember that both of them are multithreaded, which is a plus over CGI. I imagine that the JSPs are running in a VM, which is multithreaded, too, but seperate from the web server.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Dec 13th, 2001, 11:23 AM
#13
Member
Yeah, certainly in IIS and using JRun as the Servlet engine, there is a Global ISAPI filter connector .dll which passes all JSP requests from IIS through the plugin to the JRUN engine which runs on a JRE (Java Runtime Environment). I believe that ASP runs on WSH.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|