CodeIgniter Forums
Compiler? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Compiler? (/thread-2746.html)



Compiler? - El Forum - 08-22-2007

[eluser]Unknown[/eluser]
I'm brand spanking new to php and codeigniter, and I think codeigniter can help me use and learn php faster.

I saw the video tutorial that codeigniter.com posted on the main page, but when I installed codeigniter to my php server, and use a browser to open up the installed codeigniter that way, but I can't seem to have the same compiler or editor just like in the tutorial video.

I hope you guy know what I mean...


Compiler? - El Forum - 08-22-2007

[eluser]coolfactor[/eluser]
What you saw in the video was an editor called TextMate. It's a text editor for the Mac and not related to CodeIgniter. You can use the text editor of your choosing. For Windows, I've been happy with Crimson Editor, but there are lots of others to choose from.


Compiler? - El Forum - 08-22-2007

[eluser]Michael Wales[/eluser]
PHP is a scripting language that is not compiled. Therefore, you can open up the .php files in anything that can read a text file - Notepad, Wordpad, Dreamweaver, Frontpage, Word, Excel, Powerpoint - I'm being ridiculous here, you don't want to use any of those, but technically - you could.

Personally, I like Notepad++.


Compiler? - El Forum - 08-22-2007

[eluser]Unknown[/eluser]
Thanks for the info... I'll try notepad++


Compiler? - El Forum - 08-22-2007

[eluser]alpar[/eluser]
It's not up to me to tell you what's best. But i think it makes more sense to know PHP pretty well before you turn to CI or any other framework. This is to make your life easier, your code organized better, your development time shorter, and not to cut down the learning curve. Not that you can't use CI without proper PHP knowledge but its harder for you, and you are likely to make mistakes, and leave bugs, if you don't understand the core (that being PHP)


Compiler? - El Forum - 08-22-2007

[eluser]Michael Wales[/eluser]
See Derek Allard's post Learning PHP with CodeIgniter.


Compiler? - El Forum - 08-23-2007

[eluser]Phil Sturgeon[/eluser]
[quote author="walesmd" date="1187822641"]PHP is a scripting language that is not compiled.[/quote]

Well to be technical here it IS compiled, it just compiles at run-time instead. You CAN find compiler programs for PHP to pre-compile the code and speed things up on run-time but these things never seem worth the hassle to me.


Compiler? - El Forum - 08-23-2007

[eluser]deviant[/eluser]
So technically its an interpreted language.