Copyright © 2005-2008 Andrea Tincani

AndreaPHP | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Simplified SQL command)Next Topic (A Many to Many link in MySQL) New Topic New Poll Post Reply
AndreaPHP Forum : Database : Newbie To PHP
Poster Message
Ramya
Level: Trainee

Registered: 08-04-2005
Posts: 2

icon Newbie To PHP

hai

Basically i was working with vb and mysql and planned to migrate to php and mysql.Can anybody suggest me whats necessary for a begginner of php.I have dzsoft editor and i am struggling a bit to work with php

18-04-2005 at 11:08 AM
View Profile Send Email to User Show All Posts | Quote Reply
neutrall
Level: Scholar


Registered: 28-03-2004
Posts: 43

icon Re: Newbie To PHP

Hi, welcome to PHP!

To start with, I suggest apache for a server on your local host, so you ca ntest your pages. For a Php Editor, I've use two :

AceHTML (You need to buy a license)
Or
PHP Designer 2005(This is a verry good Freeware!)



____________________________
A Stick give a wise man something to think about... and a fool, something to put in is mouth.

18-04-2005 at 02:27 PM
View Profile Send Email to User Show All Posts Visit Homepage ICQ | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 16

icon Re: Newbie To PHP

Normally I just use notepad with php.... although I think (think mind you) that if you have Visual Studio installed... that either VC or the Integrated development thing "somewhat" colorizes the commands for php documents, but can't remember.


Apache and mySQL installed on your local machine would allow you to edit stuff before it's live. OR if you have a web host that allows you to use php and mySQL, you could setup a test domain, or just test folder (ie: www.yoursite.com/phptesting or phptesting.yoursite.com), so that you can debug stuff there -- and it'd make it easier in a way, but not in others.

____________________________
Everywhere's Local (pre-release), My company's website

19-04-2005 at 04:11 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
~Bean~
Level: Big Cheese


Registered: 07-04-2003
Posts: 22

icon Re: Newbie To PHP

I use "MySQL Front" as a nice GUI for MySQL....its great if you're a Windows user like me and used to everything being pretty.

Also, as far as IDE's go...I use Notepad++ exclusively and love it. Also good is J-Edit which has tons of add-ons and allows you to expand/unexpand your code...



____________________________
Eggheads unite! You have nothing to lose but your yolks.

20-04-2005 at 09:20 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
Ramya
Level: Trainee

Registered: 08-04-2005
Posts: 2

icon Re: Newbie To PHP

hai all
Thansk for ur help.But u see i am having a webserver and i have mysql front.ANd also i have dzsoft php editor.Now my doubt is i have some knowledge in html.I already worked with vb and mysql and is it easy for me to migrate to php.I also have a option to migrate to .Net.Which one will be the best

21-04-2005 at 04:51 AM
View Profile Send Email to User Show All Posts | Quote Reply
neutrall
Level: Scholar


Registered: 28-03-2004
Posts: 43

icon Re: Newbie To PHP

     Since PHP is a open source programming language, expect to have a LOT of help and forum on the internet in comparation with .NET, and more free source code. (This is the reason I took php).  

    As much as I'm use to VB and Microsoft enviroment, I'm happy to be using a non-microsoft control language!

  

____________________________
A Stick give a wise man something to think about... and a fool, something to put in is mouth.

21-04-2005 at 03:35 PM
View Profile Send Email to User Show All Posts Visit Homepage ICQ | Quote Reply
~Bean~
Level: Big Cheese


Registered: 07-04-2003
Posts: 22

icon Re: Newbie To PHP

quote:

Which one will be the best



Why choose one?

lol...no actually your choice will depend on your platform and your reasons for coding. But you can run both in tandem - I at one time had setup IIS and Apache on the same server, now I have on different servers....but it works fine (with a little port tweaking).

If you've already got Apache running then PHP is the obvious choice,ASP not so easy to setup. Conversely, if you're using IIS then PHP isn't so easy to setup, but ASP IS.

If you're a VB programmer then ASP will seem familiar to you. Heck you could pick up ASP 3.0 without learning anything new. I recommend skipping ASP 3.0 and moving right to .NET...I didnt and I am paying now by having to un-learn some things.

If you choose to go with PHP here's some advice:
-PHP, like ASP 3.0, is easy to be lazy in. You can plop code down in the middle of your HTML anywhere you want and there's a hundred different ways to program any given page. Doing this you can program PHP "top-down" without any real structure. As opposed to .NET (which I am just learning) which practically demands that you keep code separate from content. This is a good practice. Keep your code separate from your HTML is my advice...if you start out putting all of your PHP code for a particular page in an include file, an NO code in the HTML at all, you'll be on the right track. (Disclaimer: I am in no way saying that I practice what I preach...lol)

To give you an idea, about a year ago before they put out PHP v.5 there was a HUGE debate on whether to include the "GOTO" statement in PHP...AAAAAAAAAAEIIIIIIIIIIIII!!!!
Of course, most programmers have feelings about GOTO like its religion or something (myself included) but it gives you an idea of how PHP can be "structureless" and they actually were considering enhancing its structurelessness (is that a word?) The debate was very heated and came down to (IMO) that there was no good reason to include it, but many reasons not to. Hence, you wont find it in PHP but I have heard that some fool has developed a PHP add-on that lets you use GOTO...like I said...religion...




[Edited by ~Bean~ on 21-04-2005 at 12:51 PM GMT]

____________________________
Eggheads unite! You have nothing to lose but your yolks.
21-04-2005 at 05:47 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
neutrall
Level: Scholar


Registered: 28-03-2004
Posts: 43

icon Re: Newbie To PHP

Small note on a previous note from Bean.... WOW,, It's the first time I see Notepad++.....  Where was it all my life!!!! (In my Pascal and Assembler day!!!)    

____________________________
A Stick give a wise man something to think about... and a fool, something to put in is mouth.

25-04-2005 at 02:34 AM
View Profile Send Email to User Show All Posts Visit Homepage ICQ | Quote Reply
AndreaPHP Forum : Database : Newbie To PHP
Previous Topic (Simplified SQL command)Next Topic (A Many to Many link in MySQL) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: AndreaVB

Copyright © 2005-2008 Andrea Tincani

Powered by: tForum tForum Edition b0.92p1
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team.