Ayumiz
J-10 whore
+103|6948|Singapore
Trying to start writing php. I have totally no idea which programme to use. Any UI for it? And database?
chuyskywalker
Admin
+2,439|7062|"Frisco"

I spent the last week working in Netbeans for PHP -- liking it quite a bit.

Almost all php development is done towards MySQL. Zend Community Server is a good "all in one" package to get you off the ground. I've also used XAMPP successfully before too.
Ayumiz
J-10 whore
+103|6948|Singapore
Hmm i see. So its something like a dreamweaver/Visual studio? WYSIWYG? thanks.
chuyskywalker
Admin
+2,439|7062|"Frisco"

Netbeans is not wysiwyg -- but if you have dreamweaver, it's a pretty good intro php application.
Zimmer
Un Moderador
+1,688|6971|Scotland

You should also check out a few frameworks. I advise Codeigniter to begin with. Will help you understand PHP more fully.

I personally use Dreamweaver, but have tried everything, and for PHP, it's a toss up between Aptana/Netbeans or Komodo. It's all about preference. Aptana and stuff will actively help you more with PHP snippets and writing code, Dreamweaver is pretty limited and shit (or I just never got around to doing it right) . I just use it because my code colouring is awsm.
chuyskywalker
Admin
+2,439|7062|"Frisco"

Zimmer wrote:

I just use it because my code colouring is awsm.
It's the only reason it took me sooooooooo long to stop using it for a real IDE (like aptana, netbeans, komodo, etc). Nothing has ever beaten it's awesome color coding for mixed php/js/css/html documents.
Zimmer
Un Moderador
+1,688|6971|Scotland

chuyskywalker wrote:

Zimmer wrote:

I just use it because my code colouring is awsm.
It's the only reason it took me sooooooooo long to stop using it for a real IDE (like aptana, netbeans, komodo, etc). Nothing has ever beaten it's awesome color coding for mixed php/js/css/html documents.
This is so true. Why can't other programs take a hint and do the fucking same. The colour coding is just fantastic and can be customised to easily. I absolutely adore it. I may switch later on, but it's just so pwetty right now.

Other IDEs need to get their asses in gear and do the same, we are losing developers to Macs!
Harmor
Error_Name_Not_Found
+605|6763|San Diego, CA, USA
At my old job I used Zend Studio 6.x on Windows XP for all my PHP development.  At my new job I use a Mac and just terminal into the Apache server - I write using vim.

Took me about a month to make the transition, but its great.  Now instead of relying on an IDE I just telnet into where ever and start hacking away.

hjkl

And for those who think you can't get all the IDE magic you can with free plugin script you can either write your own by just placing them in your .vim/plugins directory in your /home directory (i.e. ctags gives you intellisense, phpdoc gives you phpdoc when writing functions/classes/etc...)

As for starting to learn PHP I'm surprised you guys haven't suggested w3Schools for PHP?  Actually you can start learning alot of different technologies there besides PHP.
Zimmer
Un Moderador
+1,688|6971|Scotland

I guess that's a good start, although w3schools is nowhere near as good as Tizag.com

Much more detailed and the tutorials, I think, are better.

About Vim, well.... yeah, when it comes down to it.... each to his own really. And when it comes down to Vim and Emacs.... well, everyone has a specific opinion on it. Vim isn't really and IDE though, so it's not the same and cannot be compared. If anything it's a text-editor and should be compared to the likes of Intype, e-text and shit.
Harmor
Error_Name_Not_Found
+605|6763|San Diego, CA, USA
Have you played around with some of the plugins for vim?  It gives you features that you're used to in an IDE.  Its way more powerful and ful-featured than Emacs, Intype, and e-text.

Version 7.0 really opened up the Pandora's box.  I believe the current version of CentOS comes with 7.0.36??? But don't quote me on that.
Zimmer
Un Moderador
+1,688|6971|Scotland

Harmor wrote:

Have you played around with some of the plugins for vim?  It gives you features that you're used to in an IDE.  Its way more powerful and ful-featured than Emacs, Intype, and e-text.

Version 7.0 really opened up the Pandora's box.  I believe the current version of CentOS comes with 7.0.36??? But don't quote me on that.
That's fine, but unless it gets itself sorted on the code colouring end, it still fails in my eyes. I work so much faster by quickly browsing code that is appropriately coloured. A bunch of black and white text just pisses me off.
Harmor
Error_Name_Not_Found
+605|6763|San Diego, CA, USA
vim has color schemes...you can download them or create your own.

Log into vim and type

Code:

:colorscheme slate
and you'll get this:

https://farm2.static.flickr.com/1137/1456049314_067d95aadd.jpg
CrazeD
Member
+368|6888|Maine
Wow, am I the only one that doesn't use an IDE?
Zimmer
Un Moderador
+1,688|6971|Scotland

Harmor wrote:

vim has color schemes...you can download them or create your own.

Log into vim and type

Code:

:colorscheme slate
and you'll get this:

http://farm2.static.flickr.com/1137/145 … 95aadd.jpg
That's all great and dandy. But when it comes to coding a PHP file that has XHTML in it, everything goes bonkers, because it takes the colour scheme of PHP, instead of integrating both PHP and XHTML colour schemes into the file. The major flaw of most, if not all IDEs and Text editors, with the exception of Dreamweaver.
Harmor
Error_Name_Not_Found
+605|6763|San Diego, CA, USA
You just need to load the color scheme of XHTML with your PHP color scheme...its just another .vim file you add.  You can even add folding for tags.  Face it you had a bad experience with vim in the past and you would rather use an IDE or some expensive software instead.  That's kewl, whaterver floats your boat and you're happy with developing in is what you should use.

Board footer

Privacy Policy - © 2024 Jeff Minard