Results 1 to 17 of 17

Thread: JoshT

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545

    JoshT

    Can you take a look at this thread?

    Basically, is it worth it to learn ASP.Net? You said that ASP could be pick up in a weekend. Is PHP and Perlscript the same way?

    Thanks
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    The answer is A.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    If you know VB or Javascript, you could probably pick up ASP in a week-end, as the ASP Core Objects are language independent. PHP would be longer, as it is its own langauge and has its own functions and ways of doing things. Perl - you could learn to use in basic CGI in not that long, but you could spend a lot of time mastering it - Perl can do almost anything it need it to do, from CGI to GUI, etc.

    If you're long term plans involve Windows/Micorsoft technology based development, then yes, ASP.NET is probably worth learning.

    What's your programming/IT background anyway, Hawk - personally, I think I bought Learn ASP in 24 Hours and learn PHP in 24 Hours books over summer vacation back when I was in college and learned the basics of both in a month or so (I've done far more ASP programming than PHP since then, and I already knew Perl).
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545
    Hi JoshT,

    Thanks for your replied.

    My programming background was focused mainly on VB and Database(2-tiers application). I did lots of VBA for Access and Excel. I have been doing web stuff off and on for the last two years. I finally had a better understanding of the concept and architecture of web sometime last year and decided to go hardcore into it. I really like ASP, COM and Javascript. HTML and CSS are easy. I am really happy I made that decision. Also, I have touched XML but only once in a blue moon so it takes some time to refresh when I get back to it. I have done ASP.Net for a year with Microsoft Consultants. During that time, I was not that sufficient with regular ASP.

    The reason why I asked you if it is worth it to learn ASP.Net is because it seems like no one is picking up on it. Everyone is either moving to PHP or JSP or sometime Coldfusion.

    Lately, my biggest task is becoming a DBA. I just landed a position a while back and they are trainning me in this direction.

    One thing I don't like about web technology is that it constantly change. I wish that it would be more like database technology.

    I have been doing VB for a while now and it is disappointing when new version comes out every 4 years. You have to spend quite some time into it to catch up but I guess that is just for the better.

    When you said that Perl Script can do anything from CGI to GUI, what exactly do you mean. Well, GUI stands for Graphical User Interface. What does CGI stand for? What do you need to start with Perl Script. VB Script just need IE to be installed.

    Thanks again JoshT
    Last edited by Hawk; Jun 10th, 2002 at 12:09 PM.
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545
    Originally posted by The Hobo
    The answer is A.
    Me



    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  6. #6
    Fanatic Member cpradio's Avatar
    Join Date
    Apr 2002
    Posts
    616
    Originally posted by JoshT
    PHP would be longer, as it is its own langauge and has its own functions and ways of doing things.
    Oh no! So far from the truth. PHP was based on C++ which was based on C.

    If you have any experience with C, C++, or JavaScript you will pick up PHP within a few hours.

    PHP is the same as C, C++, and JavaScript except you put a $ infront of every variable name. That is the main difference. The rest is just learning how to connect to a database and then your all ready to go.

    C has the fopen() and fclose() along with printf() scanf() which are all usable in PHP.

    Even though PHP has shortened printf() to either echo "" or print "" its still the same method.

    -Matt
    http://cpradio.net/
    Administrator @ WDForums and a Moderator @ WebXpertz City Forums

  7. #7
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Originally posted by cpradio


    Oh no! So far from the truth. PHP was based on C++ which was based on C.

    It also heavily borrows from Perl, which borrowed from C (and Unix shell scripting).
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  8. #8
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Originally posted by Hawk
    When you said that Perl Script can do anything from CGI to GUI, what exactly do you mean. Well, GUI stands for Graphical User Interface. What does CGI stand for? What do you need to start with Perl Script. VB Script just need IE to be installed.
    Hawk, CGI is Common Gateway Interface - it's a language independant method for a web server to run a script or executable and have that program dynamically create a web page (you probably knew that already) - ASP and PHP both are based on CGI in one way or another.

    To run Perl, you need perl installed - www.activestate.com has the free Windows versions, it pretty much comes with any *nix OS. Perl Script is pretty much Perl implemented on MS's ActiveX Scripting Interface, so it can be used in ASP, IE, WSH, etc.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  9. #9
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    Feh, this post is obsolete.

    Matt, I think you miss Josh's point. ASP is not a language unto itself, it is a technology. You can use VBScript, JScript, or PerlScript with the ASP objects. So if you already know one of the languages, learning the objects is not a problem.

    PHP is a language, and has its own idiosyncratricities (sp?).

    Furthermore...

    Originally posted by cpradio
    Oh no! So far from the truth. PHP was based on C++ which was based on C.
    PHP was based on Perl, not C++. Perl gets its syntax from C/C++ (C++ is a superset of C, they have the same syntax). Perl's legacy is very evident in PHP, more so than C/C++'s. But PHP is not the same as Perl. Mind you, if you know Perl, learning PHP is easy. That is not to say that knowing C/C++ doesn't make learning PHP easy.

    Heck, if you are a programmer, learning any language is easy. But that is another discussion.

    Hawk, as to using Perl (which is semanticly different than PerlScript), it can be used for everything. Perl is the most common language used in CGI (Common Gateway Interface, a precursor to ASP). Perl is also a very powerful scripting language used in place of shell scripts, with roots in awk and sed. Perl has dozens of variants such as wxPerl, Perl/Tk, and VisualPerl (and eventually Perl.NET) that make it possible to develop GUI applications. Perl also has templates and variants such as Mason that make it possible to create web applications such as ASPs. There is also a Perlix project: making an OS out of Perl.
    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.

  10. #10
    Fanatic Member cpradio's Avatar
    Join Date
    Apr 2002
    Posts
    616
    PHp has the same function names, attributes, and characteristics of C, Perl, C++, and JavaScript. That makes it just as familiar as ASP.
    http://cpradio.net/
    Administrator @ WDForums and a Moderator @ WebXpertz City Forums

  11. #11

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545
    Originally posted by CiberTHuG
    Hawk, as to using Perl (which is semanticly different than PerlScript), it can be used for everything.
    Wait, Perl and Perl Script is not the samething?
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  12. #12
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    Correct, PerlScript and ActivePerl are versions of Perl. Kind of like VBScript is a version of VB. PerlScript is the version designed for use with WSH (Windows Scripting Host) and ASPs. ActivePerl is the ActiveState Win32 release of Perl. Just as there are some things that you can do in VB that you can't do in VBScript, there are a couple of things that you can do in Perl that you can't do in ActivePerl or PerlScript (fork() and alarm() come to mind).

    Other Perls:
    wxPerl: Windows XWindows Perl. A version of Perl with libraries for creating GUI applications that can be ported between MS Windows and X Windows.
    Perl/Tk: Perl using the Tk (Tcl/Tk), a GUI Toolkit. I'm probably explaining that wrong.
    VisualPerl: A plugin for the new MS Visual Studio.NET. MS now owns ActiveState, so all of the Win32 ports of open languages (Perl, Python) are being adapted as plugins. Now you can create GUIs with Perl the same was you do with C++ or Basic.
    embPerl and Mason: Two web application oriented versions of Perl. I don't know alot about them. I've never seen anyone admit to using them. I would be curious about Mason, but I think I'll play with PHP first.
    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.

  13. #13
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    Oh, for clarification:

    People will say, "this is a Perl script". Perl started as a scripting language. It usually isn't compiled, and is interpreted at runtime. But one shouldn't underestimate it by calling it a scripting language. But it isn't fair to say "Perl executable" because people aren't reffering to a binary.

    Have I just confused you?
    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.

  14. #14

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545
    Thanks JoshT, Cpradio, and CiberTHuG.

    So the bottom line. I should learn Perl before I learn Perl Script. I learn VB before VB Script so when VB Script came around, it was a piece of cake.

    How much does Perl run or better yet, is there a good Perl Start Tutorial site out there?

    Thanks
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  15. #15
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    Perl is free. It also costs nothing.

    Check out any of the links in my sig. And if you find any that you like that aren't included, let me know, I may add them.
    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.

  16. #16
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Originally posted by CiberTHuG
    Correct, PerlScript and ActivePerl are versions of Perl. Kind of like VBScript is a version of VB. PerlScript is the version designed for use with WSH (Windows Scripting Host) and ASPs. ActivePerl is the ActiveState Win32 release of Perl. Just as there are some things that you can do in VB that you can't do in VBScript, there are a couple of things that you can do in Perl that you can't do in ActivePerl or PerlScript (fork() and alarm() come to mind).
    There's a bigger difference between VBScript/VB and Perl/Perlscript - VBScript is based on VBA, but minus most capabilities that would make it useful, PerlScript can do almost anything Perl can do, subject more to OS / Perl port limitations (there's a bunch of built in functions that don't make any sense outside of Unix, but fork() actually works for me on Win32) - I suspect the ActiveState's perl.exe, perlse.dll (PerlScript), and perlis.dll (ISAPI) all use functionality from Perl56.dll.

    So to hawk, I say if you learn Perl, then you'll already know PerlScript - there's really no new syntax to learn, just a couple of quirks because of ASP and OLE.
    Attached Images Attached Images  
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  17. #17

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545

    Thumbs up

    Thanks for pointing me in the right direction guys. You guys are really great!

    If I introduce these to my company right now, I will need some key points in order for them to approve it. What are some of the points that I should focus on about these two products?

    I know that both probably has a low cost factor, but what is the main key for a company to use it over ASP, VB Script and so on.

    Also, when you go with PHP, does COM matter any more because I heard it has really good database hook ups. Can it use COM and ActiveX?

    I know most website now a day uses PHP. But most big company still stick with ASP or ColdFusion. Do you think that is true?

    Thanks
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width