i'm going to develop a new website using php programming.Let me know what are the basic needs to upgrade my website development.please help me any one..

Thanks for your response

Dani AI

Generated

This thread dates back to December 2012 and the early replies from , and others give a useful starting point about needing a server and client-side markup. Below is a compact, modern addendum that builds on those basics and focuses on the practical skills, tools and habits that make PHP work well in real projects.

Start with solid language and architecture habits: learn error handling, exceptions and type declarations; organize code into small classes and single-responsibility modules; use namespaces and autoloading so code stays maintainable. Study common design patterns (factory, repository, dependency injection) and keep functions single-purpose — that pays off when you move from experiments to real apps.

Adopt modern tooling and workflows early: use version control (Git), a reproducible dev environment (Docker or the built-in dev server), a dependency manager (Composer) and follow PSR coding standards. Add Xdebug for step debugging, a unit-test framework (PHPUnit), and a static analyser (PHPStan or Psalm). Automate quality checks in CI so refactoring is safe.

Make security and stable data access non-negotiable: always use a robust DB access API with prepared statements, never store plaintext passwords (use password_hash/verify), validate input and escape output, protect against CSRF and XSS, and keep detailed errors off on production. Learn migrations for schema changes and use environment variables for config so secrets aren’t in code.

Practical path: build a small, complete CRUD app, add authentication, expose a tiny API, then refactor into reusable classes and add tests. Only after you’re comfortable with core PHP and tooling should you try a full framework. This approach complements the hands-on advice from and the environment notes from while keeping you on modern, secure rails.

Recommended Answers

All 9 Replies

PHP works in paraelle / conjunction with HTML so essentially you will use it along side it, not "develop a new site using php".

If you're using a "Hosting" provider, then, they will tend to have PHP/MYSQL installed on their servers, however, if you are using your own computer then you can download apache/php/mysql .. If this is the case, what operating system are you working on?

Let me know what are the basic needs to upgrade my website development

PHP lets you program dynamic websites. You'll need to know HTML and CSS. You should be familiar with C syntax. If you want database-driven applications, you need to be familiar with Structured Query Language (SQL), and a database management system (DBMS) such as MySQL. You need a server that runs PHP.
You should become familiar with php.net, as it has a great manual and documentation for the language. Tutorials for codings in PHP are available all over the Web.

Member Avatar for Member #949455

I'm going to develop a new website using php programming.Let me know what are the basic needs to upgrade my website development.please help me any one..

Learning PHP and MYSQLi. Once you understand the basic and start practicing. You can installed one of these package EasyPHP or WAMP or XAMPP to run or test your website.

If you are going to develop a rich internet aplication you will need, at least:

  1. To create the User Interfe:
    1.1. HTML
    1.2. CSS
    1.3. JavaScript
  2. To handle the user requests and process data on the server:
    2.1. PHP
    2.2. MySQL, or another database

Talking about concepts, you could use knowdloge of, but most are not pre-requisites:
1. Client-Server Aplication
2. Object Oriented Programing
3. Relational DataBase

Before you continue Php you should have a basic understanding of the following:
1-HTML/XHTML
2-JavaScript
I think this is your first step to enter.

Basically you need to learn
1. This one is for UI (user interface)
-HTML and Javascript or CSS

you can embed PHP to HTML(note: you must be familiar with C language or any other related programming languages like Ruby etc...if you know any other programming languages it'll be easy for you)

you'll need to have a server/Apache (XAMPP/WAMP for Localhost) and of course if you're going to create system that requires a database. probably you need to learn MySQL or any other available databases.

Read tutorials over the net or from books (But i prefered over the net, books might get outdated someday)

-Alex

commented: "note: you must be familiar with C language or any other related programming languages like Ruby etc...if you know any other programming languages it'll be easy for you" -1

If you waant to make good web design then you will need to learn

HTML5
Jquery
CSS 3.0
Javascript

for web page creation.

And for database oriented website,you will need to learn any programming language with database server support.

You can go to PHP with MySql and Wamp server to test your ability in php.

I agree with the others: its easier learning when you work it into an existing site...

Personally, I learnt PHP through tampering with opensource projects. You definately need HTML, CSS and maybe JavaScript but jalpesh has named all the languages to make the best sites. I use XAMPP and its a great suite!!! Perfect for learners!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.