flat assembler
Message board for the users of flat assembler.

Index > Heap > How to learn PHP?

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
I need to learn PHP.
What's the best place to start?
Tutorials? Books? IDEs?

Thanks
Post 14 Jun 2013, 19:17
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
http://php.net for documentation and http://w3schools.com/ for some basic tutorials. http://stackoverflow.com for questions and answers.

XAMPP (http://www.apachefriends.org/en/xampp-windows.html) for hosting you own server locally (or you can use no-ip.org and open your firewall to make it accessible to the WWW). This is where you'll spend your time learning PHP by trying out codes.

IDEs:

Dreamweaver CS6: Poor man's PHP Editor
(Not Free, get it on TPB or http://KAT.PH)


PhpStom: "Best IDE for HTML/CSS/JS/PHP/SQL"
Not free. (serial keys are plenty on Google of course, don't get torrents download it from their site and use a serial key)
http://www.jetbrains.com/phpstorm/

After that (maybe 1½ to 2+ yrs) you can find good paying freelancing jobs here: http://freelancer.com

Good luck.

source: been there done it.
Post 14 Jun 2013, 22:36
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8903
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
OzzY wrote:
I need to learn PHP.
What's the best place to start?
Tutorials? Books? IDEs?

Thanks


i suggest HTML5 & javascript as basic requirement for dealing PHP,
best place,

www.google.com
www.php.net (i found that chm manual very useful)

environment =
alpine linux
php
nginx
mariadb (not sure in alpine package or not) otherwise mysql
notepad++ (able to connect scp)
heidisql
Post 15 Jun 2013, 05:11
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
Yes, I also want to learn HTML5, Javascript and CSS.

Web apps are much more convenient these days. And the number of jobs are increasing. I really need to get into that stuff.
Post 15 Jun 2013, 12:48
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
OzzY wrote:
Yes, I also want to learn HTML5, Javascript and CSS.


And this is way I'm kinda hesitant to learn web app development.
You have to learn so many things.
Compared to writing desktop apps in Java, for example. You just, well, code in Java.

Of course this issue can be mitigated by using JS/CSS frameworks, so our webb apps work correctly on various browsers.

Smile
Post 16 Jun 2013, 12:50
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
TmX wrote:
OzzY wrote:
Yes, I also want to learn HTML5, Javascript and CSS.


And this is way I'm kinda hesitant to learn web app development.
You have to learn so many things.
Compared to writing desktop apps in Java, for example. You just, well, code in Java.

Of course this issue can be mitigated by using JS/CSS frameworks, so our webb apps work correctly on various browsers.

Smile


Agree. There are tons of stuff to learn just to make a simple GUI on the web.

But I think web apps are now everywhere. Even on phones those skills are reusable.
Post 16 Jun 2013, 12:54
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
OzzY wrote:

But I think web apps are now everywhere. Even on phones those skills are reusable.


Speaking about mobile phones, I think HTML5 + JS is the "best" combo if you want platform portability. You can't use C# to write BlackBerry (<= OS 7.x) apps. On the other side, using Java to write Windows Phone apps is probably an exercise in futility. Laughing

BTW, do you know that now it is possible to write web apps in JavaScript?
Hint: node.js

Or just Google "javascript web framework". You'll be amazed Smile
Post 16 Jun 2013, 14:45
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
I fell in love with PHP/MySql/HTML/CSS. Shocked

Since I found XAMPP and Server2go ( http://www.server2go-web.de/index.html ) it seems I can create "desktop" apps that run in the browser.

With Server2go it's easy to deploy in CDROM medias.
Post 18 Jun 2013, 21:08
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8903
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
xmlhttprequest simply awesome,
Post 19 Jun 2013, 19:09
View user's profile Send private message Reply with quote
Bob++



Joined: 12 Feb 2013
Posts: 92
Bob++
PHP is horrible language.
Post 25 Jun 2013, 15:22
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
Bob++ wrote:
PHP is horrible language.


Well... it looks like a mix of Perl, C, and Bash.
Some folks (including me) don't like PHP.
But hey, which web hosting that doesn't support PHP by default?
On the other hand, PHP is quite easy to setup, supported by good tools/libraries/frameworks.
And finding PHP jobs is not that hard, I think. Smile

BTW, probably youl'll find this article as interesting read:
http://fabien.potencier.org/article/64/php-is-much-better-than-you-think

I'm not asking you to change your mind about PHP, or to agree with the author's argument, anyway. Wink
Post 26 Jun 2013, 02:28
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
Bob++ wrote:
PHP is horrible language.

What's not a horrible language?
Post 26 Jun 2013, 09:55
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1409
Location: Toronto, Canada
AsmGuru62
C++ is great if you omit the crap like templates, friends and overloading of every operator (new/delete only).
Post 26 Jun 2013, 10:28
View user's profile Send private message Send e-mail Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
AsmGuru62 wrote:
C++ is great if you omit the crap like templates


I think C++'s template is cool. It allows you to do metaprogramming.
But that slows down compilation, right?
Post 26 Jun 2013, 14:00
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1409
Location: Toronto, Canada
AsmGuru62
The compilation times probably of no importance, but the
fact that you have a several copies of SAME code in your binary just because of
type safety is a little of concern for me.
I guess, it is ok, some people like type safety.
For example, lets take Generics, they are made possible by using templates.
A vector of pointers to some type, lets say, made as a templated code.
Each different type (say, I have 20 types which can be stored into vector) requires a full copy of the templated code,
just to be able to use vector[i] without a type cast -- in my opinion - a waste of code room in the binary, a bloat, but type safe.
Basically, it is done to help coders who are not attentive to type.
That is OK. It is even possible that optimizer may notice that same code is used in few places and make one
code for all vectors. But again, here, we can assume that not every compiler is good.
Post 26 Jun 2013, 14:22
View user's profile Send private message Send e-mail Reply with quote
zhak



Joined: 12 Apr 2005
Posts: 490
Location: Belarus
zhak
some people say, that php is a "paralympic programming discipline". and I agree with them
Post 26 Jun 2013, 15:03
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17279
Location: In your JS exploiting you and your system
revolution
Post 26 Jun 2013, 15:12
View user's profile Send private message Visit poster's website Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
Thanks for all answers.

I've come a long way since starting this thread. I already learned PHP and some frameworks.
PHP is very easy to learn for me because I have a C++ background.

Netbeans is a great IDE for PHP. I'm looking forward getting Dreamweaver. Do you guys think it's worth it?

I'm also using Uniform Server. It's more updated than XAMPP and comes with more security configurations for production set ups.
Post 26 Jul 2013, 16:34
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
OzzY wrote:

I'm looking forward getting Dreamweaver. Do you guys think it's worth it?


If you are going to spend some money on PHP tools, spend it on PhpStorm

All of Jetbrain's products are excellent. Really.
Post 26 Jul 2013, 16:49
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
PHP is really terrible. Program for web in FASM. It is fun, very easy, productive and you need not learn some strange languages.
Post 26 Jul 2013, 17:13
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.