...

View Full Version : Learning to start PHP and MySql Development



jpalazzi
10-20-2004, 10:36 PM
I getting ready to begin my adventure into learning some PHP code to make a pretty simple website then develop my skills from there.

I have done ASP and VB .NET web work and figure it shouldnt be too hard of a transiftion.

Can someone tell me where to start? Usually I use Visual Studio, and connect to the web host and begin...I can save the HTML directly to the server and the VB.net code will compile and save as well.

Is there a WYSIWYG editor like Visual Studio or do you only use notepad :)

Thanks for any advice.

trib4lmaniac
10-20-2004, 11:12 PM
Get a personal copy of -> phpedit (http://www.waterproof.fr/) <- its pretty good

fci
10-21-2004, 12:38 AM
only a fool uses Notepad for development
gvim (http://www.vim.org/) > *

jpalazzi
10-21-2004, 12:40 AM
well thanks for that tip :thumbsup:
what do you recommend then?

fci
10-21-2004, 12:52 AM
well thanks for that tip :thumbsup:
what do you recommend then?

take a closer look at my post

trib4lmaniac
10-21-2004, 01:34 PM
Vim? Never heard of it! Does it support php syntax highlighting. Can't find it on the site.

fci
10-21-2004, 02:05 PM
Vim? Never heard of it! Does it support php syntax highlighting. Can't find it on the site.

yes.
if you're using files that aren't using a php file extension type :set filetype=php
it supports more than one language as noted here:
http://www.vim.org/vimscriptlinks.php

raf
10-21-2004, 02:19 PM
only a fool uses Notepad for development

Hehehe ... And yet, in every thread about 'what's the best editor', someone comes suggesting Notepad. (usually followed by the real fool that's writing his own texteditor that almost is at the stage that it has linecounts !)

But why do you recommend Vim ? What are it's strongpoints? What makes it better for PHP-development then PHPEdit ?
Does it have for instance a real good build in FTP-client? Or some good build in debugger?

fci
10-21-2004, 02:45 PM
But why do you recommend Vim ? What are it's strongpoints? What makes it better for PHP-development then PHPEdit ?
Does it have for instance a real good build in FTP-client? Or some good build in debugger?

> What are it's strongpoints?
less mouse usage

> What makes it better for PHP-development then PHPEdit ?
less mouse usage

> Does it have for instance a real good build in FTP-client?
it has ftp built in but I don't use it. I do a lot of stuff via the vim on putty(shudder) which I do not recommend to anyone(boss likes to demo our latest stuff when we're not done, we also are editing files non-web accessable files, that will be changing soon though) but aside from that vim/gvim allows me to do a lot of things faster without using the mouse.

> Or some good build in debugger?
php errors are good enough.. I don't think a debugger is that necessary for php.

yeah maybe my reasons aren't that good.. oh well. the other guy at work who uses vim isn't taking advantage of many of the features so his coding time is slower then mine.

raf
10-21-2004, 03:20 PM
I see. suppose most windows-afficionatos like point-and-shoot programs ...


> Or some good build in debugger?
php errors are good enough.. I don't think a debugger is that necessary for php.
A debugger should be able to do more then display/explain errors. Show the value of all variables at each point, display consumed time per function, working with steps, breakpoints, ...

I just ask because i find PHPEdit lacking a bit there ...

fci
10-21-2004, 03:52 PM
A debugger should be able to do more then display/explain errors. Show the value of all variables at each point

couldn't you write your own debugger if you wanted to values? either define what variables you want the value of and then call a function with the names of those variables, i.e., echo ${$var}



, display consumed time per function, working with steps, breakpoints, ...
consumed time per function would be cool.. but that could probably be written on your own..
what do you mean by 'working with steps' ?

I haven't worked with breakpoints before so I'm not quite sure of the advantage...
according to dictionary.com..

A point in a program at which operation may be interrupted for manual intervention. src (http://dictionary.reference.com/search?q=breakpoint)

btw, I just found this:
http://www.zend.com/manual/ref.apd.php ...
http://pecl.php.net/package/apd



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum