I'm glad that i'm part of this awesome community !
And in order to thank for the hospitality i wanna start guide series about Websites Developing !
Hope you enjoy this !
PART 1.Questions And Answers !
1. Which Web developing languages i need to use to create basic systems, like register or log in?
You need to use PHP programing language and bind your script with MySQL queries and pulling data from database.
2. That [PHP] language hard to learn?
No, all what you need you can find here www.php.net there is all functions and variables are explained, but sometimes not enough explanation here...
3. I have some Perl or C,C++ knowledge , hard jump to [PHP] right now?
Hmmm, NO! [PHP] have almost the same syntax like PERL or C , C++ Languages. php was created from C# language.
4. Software i need to create websites i can find for free, or i need to pay for them?
That Depends on you, there is a lot of software for free and there a lot payment programs, really, i don't like any of programs like Dreamwiewer or NetBeans, Eclipse... I prefer use Notepad++ with customized style, that your best choice !
You can download Notepad++ From Google easy, safe and for free !
PART 2.Software i need, and some tips how to customize him!
Notepad++ is a text editor and source code editor for Windows. It aims to be a lightweight and robust editor for a variety of programming and scripting languages. One advantage of Notepad++ over the built-in Windows text editor Notepad, is that Notepad++ supports tabbed editing, which allows working with multiple open files. Notepad++ opens large files significantly faster and can be used as a replacement for Windows Notepad.
Notepad++ is distributed as free software. The project was hosted on SourceForge.net, from where it has been downloaded over 27 million times and twice won the SourceForge Community Choice Award for Best Developer Tool. The project is hosted on TuxFamily since June 2010. To display and edit text and programming language source code files, Notepad++ uses the Scintilla editor component.
- WAMP for windos users, LAMP for linux users, that programs includes php hypertext reader and have MySQL install (ofc there are some a other programs like Xampp. i don't use that sh*t...)
You can read more about both programs here : Wiki page
- Filezilla if you working on hosted server.
FileZilla is free and cross-platform FTP software, consisting of FileZilla Client and FileZilla Server. Binaries are available for Windows, Linux, and Mac OS X. It supports FTP, SFTP, and FTPS (FTP over SSL/TLS). As of 18 April 2011, FileZilla Client was the 7th most popular download of all time from SourceForge.net. Support for SFTP (SSH File Transfer Protocol) is not implemented in FileZilla Server.
FileZilla's source code is hosted on SourceForge and the project was featured as Project of the Month in November 2003.
Despite the similar names used by Mozilla, FileZilla has no relation to the Mozilla Project.
Installing all your programs !
- WAMP/LAMP - Just install with default settings. Then when you install that turn on your Skype and follow images !
Find word Tool, hover your mouse there and click on word "Options"
You will see that :
Go to Section "Advanced" and choose Connection.
And make sure you have Unchecked "use 80 port 443 as alternatives blablabla"
Now Restart your Skype and run your wampserver.exe
- Notepad ++ - Just install with default settings. When you installed run notepad++ .exe from your desktop.
Find out on the top menu word Settings - > Styles configuration.
You can choose whatever you want style, but i prefer use that
WHY I NEED THAT WAMP? IF I HAVE FILEZILLA ?
Answer : wamp/lamp programs gives you acces to work on your computer like on a server machine, you can with that programs work on "localhost" of your computer.
Filezilla was made for hosted servers.
PART 3.First meet with language and syntax explanation.
All we can find scripts in Google like :
If i see this i can tell, BULLSHIT, this is wrong way to show how language works.Code:<?php echo "Hello World"; ?>
First of all we need to know what the fuck is that " <?php ?> " ir " echo "....
Lets start talking about basics, first of all your script must start with word :
Now you need to close your script for that in [PHP] language we use this :
That means, you tell to server that we done with our php code, now server don't read anything afterCode:?>
like php code, server will read that like HTML code...Code:?>
Okay, when we have our empty " Page " for script it should be look like this :
Now in php like in other languages we have "functions" "variables" "Constants" to make any action we need to call them. for example if i wanna show some text on my website i need to call "function" which allows me to do that, in [PHP] we have 2 ways to output text.Code:<?php ?>
Both of them works on newest php version, they almost the same but different so much.
Echo - allow us to use HTML tags inside the code and output them on website. (Text must be between two symbols " " )
Print - I use this only for output my variable if i don't have any more text like.
if you confused atm don't think about i i'll explain it later.Code:print $math;
WARNING ! IN ALL CASES YOU MUST END YOUR CODE LINE WITHYOU MUST DO IT. that symbol means you done your code "sentence" and you must close sentence with that symbol, you must put that symbol always you done your line.Code:;
for example :
Okay, right now you ready to know this :Code:echo " My text goes here between this two awesome symbols"; - how you see i close my sentence... print (" My text goes here. "); -- close here print $text; - and here
In PHP we have Variable !
Variable - box where we keeping information, text, vales and same things. we can make our variable all names like " math,good,shit,change,a,b,c " and ETC.
All variable must start with symbol
WARNING ! Variable name can be $variableName but can't $Variable Name name can't start with number for example we can't have variable with name $1variableCode:$variable = "Our some value";
Okay, when we know about variable, how correct make our code sentence and know how to make server to read our php code we can start !
try to make simple web site page which say hello for us !
You will see the outputCode:<?php $text = "Greetings ! Have a nice day !"; print $text; ?>
You telling your website start php script you making variable with your text and then just output that variable .Greeting ! Have nice day !