| Author |
Message |
|
|
iDevelopCommunity Site Admin
Joined: 16 Mar 2006 Posts: 255
|
Posted: Fri Jun 02, 2006 12:16 am Post subject: Programming question: PHP |
|
|
What do you think about PHP? Do you think that this is a good language to create a website? What are pros and cons? _________________ Online Education |
|
| Back to top |
|
 |
|
|
htmlmaster
Joined: 07 May 2006 Posts: 164
|
Posted: Fri Jun 02, 2006 11:02 pm Post subject: |
|
|
To create a website? That HAS to be boring, just use HTML and CSS. Otherwise, PHP is a great language to make web-based programs and scripts and I use it all of the time. _________________ www.nerdcouncil.com - Forums are finally done!!! |
|
| Back to top |
|
 |
seo
Joined: 16 Mar 2006 Posts: 1999
|
Posted: Fri Jun 02, 2006 11:13 pm Post subject: |
|
|
| htmlmaster wrote: | | To create a website? |
Well, php can't do anything else ... _________________ Travel News Online College Degree |
|
| Back to top |
|
 |
htmlmaster
Joined: 07 May 2006 Posts: 164
|
Posted: Sat Jun 03, 2006 6:00 pm Post subject: |
|
|
What I meant was only use PHP to make a website. For example, instead of doing this:
| Code: |
<body>
text..
</body>
</html>
|
You do this:
| Code: |
<body>
<?php echo "text..."; ?>
|
_________________ www.nerdcouncil.com - Forums are finally done!!! |
|
| Back to top |
|
 |
Brad
Joined: 16 Jun 2006 Posts: 27 Location: Ottawa, ON
|
Posted: Fri Jun 16, 2006 2:28 am Post subject: |
|
|
PHP is open source and very powerful. In some ways, it is a few steps ahead of ASP.net... I love programming with PHP and I don't think I'll be switching for a while. _________________ Entrepreneur Talk - Business Forum & Community |
|
| Back to top |
|
 |
SecondV
Joined: 24 Jun 2006 Posts: 2 Location: Kentucky
|
Posted: Sat Jun 24, 2006 7:39 am Post subject: |
|
|
PHP is great, and an easy language to learn. If you're building a website..don't use PHP unless there's an absolute need to. I've seen one too many folks use PHP on a pure HTML-based site.
Using:
| Code: |
<?php
echo '
<html>
<head>
<title>Blah</title>
</head>
<body>
<p>Something</p>
</body>
</html>';
?>
|
Is pointless. _________________ SecondV |
|
| Back to top |
|
 |
scolls
Joined: 31 May 2006 Posts: 242
|
|
| Back to top |
|
 |
Zerabira
Joined: 01 May 2006 Posts: 105
|
Posted: Sat Jun 24, 2006 10:49 am Post subject: |
|
|
I find it hard not to use PHP, I barely find an opportunity to create a page that could not benefit from some dynamic element. _________________ CultIdols.com, where the sublime meets the ridiculous. |
|
| Back to top |
|
 |
frankcow
Joined: 26 Jun 2006 Posts: 166
|
Posted: Mon Jun 26, 2006 4:48 pm Post subject: |
|
|
PHP has been an excellent driver behind open source web applications
like this forum for example...
so yes, it's good _________________ get help with emarketing at the email marketing forum
discover new indie music |
|
| Back to top |
|
 |
GlobalFusion
Joined: 18 Aug 2006 Posts: 7
|
Posted: Fri Aug 18, 2006 8:37 am Post subject: |
|
|
| seo wrote: | | htmlmaster wrote: | | To create a website? |
Well, php can't do anything else ... |
Not quite true there.
PHP is Perl.
It can be used for writing desktop applications. did you know that one?
When it comes to where to use it (on the web), its best use is coupled with its partner in crime MySQL.
The 2 were made for each other.
For Dynamic content and interactivity requiring server based calculations and storage, there is no better than PHP. (and its open source!!) _________________ [:: DesignerFusion.com ::] |
|
| Back to top |
|
 |
seo
Joined: 16 Mar 2006 Posts: 1999
|
Posted: Fri Aug 18, 2006 9:10 pm Post subject: |
|
|
| GlobalFusion wrote: | Not quite true there.
PHP is Perl.
It can be used for writing desktop applications. did you know that one?
When it comes to where to use it (on the web), its best use is coupled with its partner in crime MySQL.
The 2 were made for each other.
For Dynamic content and interactivity requiring server based calculations and storage, there is no better than PHP. (and its open source!!) |
Isn't it true that php was developed for web initially? Some developers tweaked php and made it work like a regular programming language like perl and python, but this is relatively recent, isn't it? _________________ Travel News Online College Degree |
|
| Back to top |
|
 |
megamoose
Joined: 20 Aug 2006 Posts: 9
|
Posted: Sun Aug 20, 2006 4:51 pm Post subject: |
|
|
Definatly. IMO it is the best. You can implant it into any document. If you have an HTML page you just rename the extention to PHP and add the <?php line anywhere in the document to run a command. (I'm not sure if other languages allow you to do that)
Also it's so easy to learn and use. I learnt it in a few weeks.
Mark _________________
Get a free .COM domain name |
|
| Back to top |
|
 |
knowledg3
Joined: 01 Sep 2006 Posts: 5
|
Posted: Fri Sep 01, 2006 7:58 pm Post subject: |
|
|
| If your using a database for your site then, yes, php is excellent. Although, ruby on rails is great. |
|
| Back to top |
|
 |
Zeggy
Joined: 09 Sep 2006 Posts: 72
|
Posted: Sun Sep 10, 2006 8:21 am Post subject: |
|
|
There's no point in using PHP to make a website if you're only gonna use HTML...
And yes, PHP was initially made for the web, Personal Home Pages, thus PHP. The name has changed now of course  _________________ http://www.myreseller.be
http://www.zegghq.com |
|
| Back to top |
|
 |
sinistermidget
Joined: 25 Jul 2006 Posts: 18
|
Posted: Tue Sep 12, 2006 10:59 pm Post subject: |
|
|
| Zeggy wrote: | | There's no point in using PHP to make a website if you're only gonna use HTML... |
Of course there is. Even if you don't need anything other than basic text, images, and links on your site, PHP can make things a lot easier. There are many things that you would have to do manually if you used pure HTML. Adding PHP makes it easier to set up templating, automate breadcrumb creation, etc. All of these things could be done purely in HTML, but it would take a lot more time. |
|
| Back to top |
|
 |
|
|
|
|
|