polter
Dec 19 2007, 02:36 PM
| | I've been using PHP for about a month and I like it cos it's so powerful. I don't know about the others like CGI, Perl..etc. Can anybody tell me the MAIN Difference between these languages? I'd really love to try them out if I know their advantages, pros and cons. I've been searching the internet for answers, but they are too complicated and use too many jargons that newbies like me don't understand. |
Reply
KansukeKojima
Dec 19 2007, 07:28 PM
In my opinion, you have to use a little bit of all the ones you need to in order to make a awesome website... no one language will make your site super awesome... you must combine them....
Reply
Saint_Michael
Dec 19 2007, 09:22 PM
I will say this though that the best script is a secured script, meaning that the less security holes there are the less chance that a script kiddie will get in and start messing around with your site. Of course though in today's programming languages such as PHP, ASP, AJAX, XML, XHTML those are the most structured and currently used languages. I don't here to much in CGI and perl these days, although they are still being used in some applications.
Reply
Tetraca
Dec 19 2007, 09:35 PM
QUOTE(polter @ Dec 19 2007, 02:36 PM)  I've been using PHP for about a month and I like it cos it's so powerful. I don't know about the others like CGI, Perl..etc. Can anybody tell me the MAIN Difference between these languages? I'd really love to try them out if I know their advantages, pros and cons. I've been searching the internet for answers, but they are too complicated and use too many jargons that newbies like me don't understand. PHP is a nice language, but as you may or may not know there was an entire month where there was hole after hole found in the interpreter. I'm satisified with it and see nothing wrong with it, but people that like to define their variables criticize that you can't define them. Perl is another nice one, but it has a lot of shorthand available so you can make your code look extremely dirty and near unreadable. It's also very old - probably 20 - 30 years old, so it's pretty stable. Some people say it's slow, but it's also found frequently both on Windows and Unix/Unix-like servers. CGI is a library for Perl that extends its capabilities as far as I know. I don't really like python, but it's an option. It's relatively new and it works, from what I've heard about it, very well. But, it forces indentation of your code, which can be a pain at times if you don't like how they want you to indent it. It also doesn't really have a lot of support on many web servers. You may want to start your own if you like it enough. Ruby on Rails is another option. It's slow as tar from my experience but people really like to program in it. I don't like OOP either, so it's a choice I wouldn't do. But if you like OOP, go ahead and use it. It, too, doesn't have a lot of support. Some pros like to use ASP, ColdFusion, and JSP. These are rather expensive and work on a handful of servers (except for ASP) and unless you're making them for a client that specifically requests them, I suggest you don't even bother with them. Keep in mind that whatever scripting language you choose, you will need a markup language to go with it if you're designing a web page, or you'll make a bland, and very uninteractive site. This means HTML or XHTML with CSS. They are not programming languages, but you still need to learn them. QUOTE In my opinion, you have to use a little bit of all the ones you need to in order to make a awesome website... no one language will make your site super awesome... you must combine them.... No, no, no. This is a REALLY REALLY BAD idea. Programmers don't write code in C and then dabble with BASIC to make a good program. Considering that no matter which language you use, you will have relatively the same feature set and are capable of getting the same result, it is better to be consistent in what language you are scripting in. Otherwise, it can get really confusing, and even worse is when you try and interface the code together using only scripting languages (since you are dealing with an interpreter, you're really going to make it hard on yourself if you dabble with multiple scripting langauges on one site at times, unlike a programmer which can compile every object file into one file). Nearly everything these days is done with one scripting language - no matter if IBM's web page or Bob Smith's mega ultra super-duper homepage. The language, really doesn't matter. What matters is you, and what you can do in each language. Some people like Perl better than PHP, and can do better things in Perl than PHP because they are more proficient and like the syntax better. You need to find the language with the featureset that fits you best to make your site the best it can be.
Reply
KansukeKojima
Dec 19 2007, 09:40 PM
QUOTE(Tetraca @ Dec 19 2007, 02:35 PM)  No, no, no. This is a REALLY REALLY BAD idea. I'm an idiot... I was far to general... I was mostly reffering to using css and html/xhtml, etc. with php, etc... I was far too general sorry about that.
Reply
sonesay
Dec 19 2007, 10:05 PM
If you have time I would suggest you try a few of them out and see how you like it. Although I'm only fimilar with php at this stage I do want to see what all the fuss is about with ruby on rails but sadly I dont have the time. I'm asumming also it would take you a good few months to get to know each language well enough to understand its capibilites to a high level and apply them in your own work. I'm pretty happy about having so many options available instead of being forced to use just one language. I've seen asp page codes before although I think its too bulky for my liking. What I mean by this is although the functionality seems to be there the code tags required are seem to be large. They are all asp custom tags and having worked on PHP only I didnt really like seeing all those tags in my source. I personally think php gives you abit more control over how you want to build your sites. That being said lol I have not even built any pages in asp, I just have seen a video where a guy shows you how to build a some what complex ajax form with asp and I wasnt too impressed with the amount of asp tags involved. I think it all comes down to your own peference. All these scripting langauages seem to be advanceded enough to give you the functions you need. its just different in how you are able to use them. I hope that makes some sense  like I said give them a try if you have time and happy programming.
Reply
polter
Dec 20 2007, 05:42 PM
Thank you all for the information. It really helps me a lot cos I've just started using these languages, and now I'm really beginning to enjoy it. I've set up a PHP-based forum and everyday, I learn something new. Now i know how to create a simphe PHP shoutbox, a guestbook, and a basic php page. It's great.
Reply
Similar Topics
Keywords : whats, script, web, designing,
- Softwares For Web Designing Workflow
(1)
Why This Error?
PHP script fault (4) Hello, I typed out a PHP script (literally copied from w3schools, the script is as follows: CODE
<html> <body> <?php function spamcheck($field) {
//eregi() performs a case insensitive regular expression match
if(eregi("to:",$field) ||
eregi("cc:",$field)) { return TRUE; } else {
return FALSE; } } //if "email" is filled out, send email if
(isset($_REQUEST['email'])) { //check if the emai....
A Small Html Problem
How to display foreign characters correctly when designing a site. (4) I was wondering how I could solve a small problem. I was told that some people see accented and
umlauted letters (such as " é " and " ë ") as question marks (" ? ") on my website. I come across
the same thing sometimes when looking at websites which use non-English characters. Funnily enough,
the other day, I looked at a site and the apostrophy ( ' ) was also shown as a question mark.
That is a very common character usually, I would think. I thought it had something to do with the
character encoding settings, and let me also mention I use Mozilla Firefox as my brows....
Whats Important To You When Designing Your Web?
(29) I was just wondering what everyone else thinks is important when they design their website?
Personally i like simple, easy to read websites with minimal actual graphics. Most of the websites i
make are very graphics light and are usually very dial-up friendly. Just plain but attractive (or at
least i try to make it that way /tongue.gif" style="vertical-align:middle" emoid=":P" border="0"
alt="tongue.gif" />)....
Firefox Explodes When I Put Height To 100%
What's up with that? (3) CODE <table width="100%" height="100%" cellspacing="0"
cellpadding="0"><tr><td><table width="100%"
background="/images/bg.gif" cellspacing=0><tr><td width="100%
BACKGROUND="/images/bg.gif"></td><td valign="right"><img
src="/images/greyhound.gif"></td></tr></table> <table
height="100%" width="100%" cellspacing=0><tr height="100%"
width="100%" bgcolor="....
What's The Average Scrolling Length On A Web Page?
Anyone know where i can find this? (9) Hello everyone! Now im working on a website and i need to know the average user scrolling
distance in either pixels, inches, pages, any measurement really. To clarify i want to know how
far the average user is wishing to scroll down a page to see the contents. Im not talking paragraphs
f text like stories etceter because most people will scroll till the end, say if you were looking
for something on a page, how far would you, or the average user, be willing to scroll before getting
bored and giving up? If anyone can post a link to some sort of web research site wh....
Can't Delete A Folder On Server!
a small mistake in a script.... (7) I maintain my college's website and since I update it frequently, I decided to
write a php script that would backup all the data in a folder on the server itself. To backup all th
e data I would only need to run the script once in a while: function dircpy($basePath,
$source, $dest, $overwrite = false) { print
"============================================================================ ";
if(!is_dir($basePath . $dest)) mkdir($basePath . $dest);
if($handle = opendir($basePath . $source)) {....
The Dont's Of Web Designing
(19) Getting a great looking website is really a difficult task. We need to take care to make the site
more acceaaible and get more visitors pouring in. Here are a few dont's that you need to keep in
in while designing a site. 1. Clutter - Too much text and too many links is information
overload. Simplicity is the most efficient way of getting a point across. If you must have a dozen
of links in your site, classify them in sections for easy navigation. 2. Different font sizes -
Keep consistency in font sizes for text content of similar nature like headers, foote....
Integrate Blog Into Existing Site?
What's the Simplest Route? (11) I'd like to integrate a very simple blog-type feature that will only show up my site's home
page. I want the blog section to look like the rest of the site. Here's my site if it helps:
vbritton's site The site has three columns, and in the center column, I want to put simple
blog entries. I want to keep the other two columns open for other stuff so it doesn't look like
a blog site. It would also be nice to have an rss feed. I know some html. I don't know php or
sql, but I'm guessing I might have to learn if I want to do this right. I'....
The Do's And Don'ts Of Web Designing
(7) The art of Designing websites has gone very popular and you can find everybody with a little basic
knowledge about how websites work or HTML creating their own websites. But do we consider what we
should follow and what we shouldn't. I've found a website that describes about the do's
and don't s of Web Designing. http://www.secretsites.com/do_dont_part1.jsp This will be very
useful to all web designers and add extra glow to your website.....
Script.aculo.us - A Library Of Ajax Scripts To Improve Your Website's Design
many ways to impress your visitors (0) SCRIPT.ACULO.US Homepage AJAX is a futuristic language used by experts to
program the web. It adds many interesting features which will enhance your website. Click the link
below for a demo of all the things you can do with the AJAX scripts available on script.aculo.us:
http://wiki.script.aculo.us/scriptaculous/show/Demos The current version (1.7.0) of the entire
library of their scripts is available as a download in ZIP , TAR.GZ and TAR.BZ2
format. ZIP {146KB} TAR.GZ TAR.BZ2 Please see the documentation available on....
Users Online
Looking for the best counter script (9) Hi people, I am wondering If do you know a good "users online" I know many remote hosted services
for this but I am looking for a counter script to install in my own website, If possible a counter
that displays my visitors information , like country or an image(flag) links where they come from
etc. something like this: Webpage I would SO appreciate any help! because I want to give to
my site a more professional and international look /cool.gif" style="vertical-align:middle"
emoid="B)" border="0" alt="cool.gif" /> ....
Inviter Script
(1) Gmail inviters and spoolers abound on the Internet, such as here , and here . I'm not
especially planning to make yet another Gmail inviter, but I'm trying to set up a site that
works like a gmail spooler, but that will distribute links for the free icon/Free Delivery sets at
IconBuffet.com. Does anyone know of any ready-made scripts that does this?....
Reseller Hosting Script
InvasionPanel.com (8) Hey my friend just made a new site selling reseller hosting script Its called InvasionPanel Its a
script Which has cPanel and InvasionPanel (Something like WHM) Features of reseller hosting panel
(InvasionPanel) CODE Administration - Settings - Advertisement settings - Reseller Packages -
Create Reseller - Reseller Management Server - Server Information - Service Status - Reseller
Information - Reseller Usage cPanel Accounts - List Accounts - List Suspended - Create a New Account
- Password Modification - Suspend Account - Unsuspend Account - Terminate Account -....
Need Help Designing Website For Online Novels
Making lots of text comfortable to read (3) I want to start getting my website hammered out, and I realize that I'm not exactly sure how to
balance an attractive design with basic readability. I generally don't like templates and
programs, preferring to work things out from the bottom up as much as possible. I've got some
basic HTML "programming" under my belt, but everything I learned was 5+ years ago, and before CSS.
If possible, I'd like to design something with a "frame" effect over the top of the page and on
the left all the way down with a background for menus and buttons, with the backgrou....
Log In Script!
Please can someone make me a log in script! (6) Hi please can someone either make me a log in script or give me a direct url to a code for one!
Thanks! /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />....
How To Incorporate A Php Script To My Website
php beginner needs help (7) Well i dont know exactly how to say this but i ll try. So last few months i ve been discovering web
design, dreamweaver, photoshop. I learned how to create layout and how to preapare it in dreamweaver
but now i am stuck with php. I dont know how to put script in desired cell an lots of other stuff.
yeah i am stupid, but i am who i am. all those tutorials are not helping me because they dont tell
you how to install script where i want. i am going to explode. i tried to find finished script on
hotscripts.com but i cant/dont_know which one will suite my needs. my layout is....
Looking For A New Web Editing Program
I need a new web designing program (13) Ok, I am a web designer and I am having difficulty finding a good program that I can use that as
what i'm looking for. Now I have been using TSW Webcoder but it is causing alot of errors for me
and am getting sick of it wiping clean some of my site files. Well I am looking for a program that
has a wysiwyg editor, sort of like the quick edit used in TSW Webcoder but a more powerful one with
more options, also with that is a normal html editor. Also i am looking for one that has an inbuilt
codes already in it, like quick codes to make a link, image, even javascript t....
Top Ten Web Script Libraries
(6) 1) Moo.fx - A superlightweight, ultratiny, megasmall javascript effects library, written with
prototype.js. It’s easy to use, fast, cross-browser, standards compliant, provides controls to
modify Height, Width, and Opacity with builtin checks that won’t let a user break the effect with
multiple crazy clicks. It’s also optimized to make you write the lesser code possible. 2) Rico - An
open source JavaScript library for creating rich internet applications. Provides full Ajax support,
drag and drop management, and a cinematic effects library. 3) Swat - Developed by silver....
Free Chat Script
(9) deos anyone know a good, fast, free chat script that i could put in my website. one with out
advertisements. one with no strings attached. everyone these days are trying to make money off every
type of script. only if all scripts were open source. the world would be a much better place. thanks....
Search In Website
What's the best way? (4) Ok so I'm trying to integrate a website-wide search engine into my site, and rather than going
through the million different options, I figured the best feedback I can get would be from actual
people who have previously done this. What's the best option, and/or is there a recommended
script I can use rather than build my own? The website's pretty expansive, and will be
continually growing and expanding, with new pages added at least weekly, if not daily. Plus current
pages will be updated on a weekly basis. Any thoughts? Thanks!....
What Is Topsites Script (its In Php)
(5) i have been looking at a lot of php scripts lately and i keep seeing this script over and over
again. its called "topsites". what is this "topsites" scrtipt. its in php and i m new to this stuff
so i woulnt know, and non of websites offering the script actually explains what it is. this is a
big forum so i thought you guys might know what it is. so if you know can you please give me a
simple brief explanation of it and how it can be useful for a webmaster. i would appericate your
help. thank you....
Asp Script For A Social Networking Site!
need a script like hi5 site (3) Helllo guys! Can anyone of you suggest me where can i get a free script like hi5.com either in
asp or php ? plz dont suggest hotscripts.com or to do a google search because both gave me no
quality result thanks in advance....
What's The Best Online Shopping Cart
looking for opions from people (7) I'm creating a shopping cart for a client and was wondering what's the best one out there?
He doesn't have thousands and thousands of items to sell so i'm just looking for something
that really reliable and simple to use because i do not want do tech support for him.round.....
What's The Best Content Management Software?
(15) I'm thinking of using Mambo Open Source because I saw WYSIWYG was included to help design your
site, but I'm not sure if I should go with it. What are you all using, and what do you find to
be the most user friendly. I'm new to PHP (translation: I don't know what the hell I'm
doing), so what would be the easiest for me to put up. I've already designed my site in
Frontpage with frames, but I'm ready for a more grown up site. Let me know. Thanks
/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> ....
Mambo Sites
What's the best Mambo resource site? (3) I have my website running on mambo open source. I've found it quite easy and friendly to manage.
Well, no doubt it is the the best CMS (Content Management Site, or something like that). I have
also found lots of useful sites which distribute free mambo stuff: modules, components, mambots,
cool templates and upgrading; but I still look for a great site which gives REALLY COOL (and I mean
REALLY COOL) templates for mambo sites. If anyone knows about some of them, I'd thank for the
help /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> Che....
Html Form Help Please
finding a form script (2) Does anyone know of any tutorial or can help me with making a form. I'll describe the situation
and lets see if you can help me. Ok like a few form or text areas that when you put some text into
them they'll input the words from the form area above into another form or textarea under it.
Sort of like an online html maker where you can select your background colors, put an image url in a
field, and some other options THAN you hit a button that says generate. and it generates a website
html source code where you can copy the whole thing and paste into your own we....
Great Script Site
(20) I've loved this site since I first found it a couple years ago. It has 12 php related scripts,
but also links to many other resourceful sites and tutorials, as well as a forum board much like
this one that is pretty straightforward and easy to get help if you have any questions.
codegrrl.com <---check it out!....
Total Content Managers
whats the best? (10) Hi, I've been using PHP nuke 7.5 for the last couple of months and so far it's been pretty
good. I was wondering though, for those of you who use total content managers, if you could perhaps
recommend any others and specific features that make them interesting. I find that with php nuke
that I'm not giving absolute 100% control and find myself having to search through pages of PHP
to fully customise it.....
script hosting?
(4) does anybody know where to get free script hosting where the scripts are actually good? everywhere i
search, its just crappy scripts people made when they where bored. /huh.gif"
style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif" />....
Looking for whats, script, web, designing,
|
|
Searching Video's for whats, script, web, designing,
|
advertisement
|
|