HTML5 vs JavaScript vs PHP

Need advice about which tool to choose?Ask the StackShare community!

HTML5

86.5K
67.3K
+ 1
2.2K
JavaScript

193.2K
147.9K
+ 1
7.7K
PHP

104.7K
49.6K
+ 1
4.5K
Advice on HTML5, JavaScript, and PHP
Needs advice
on
Python
JavaScript
and
Java

I'm making my university community web service with a team. (6 members myself included)

And we decided to use JavaScript, HTML, CSS (for sure, it's the basic of websites) but couldn't decide for the back end part.

There are tons of languages, tools, etc., but I'm really new to programming, so I'd like to get some help to figure out what tools we need.

So my question is this: are there any good examples of web community services we can mimic the tools or get an insight from them?

See more
Replies (6)
Recommends
Python
Django

Since you're following Python, I would recomend using Django as your main back-end language. If you know Python it would be a great experience. Django is well documented on their official website: https://www.djangoproject.com/ I would also use React for front-end as well. Also this article is worth reading, I think progressive web app is something worth learning these days: https://web.dev/progressive-web-apps/ Hope that helps :)

See more

Since your team is already using JavaScript, there's a great number of examples for backend services written with NodeJS. I'd recommend using Firebase, or any backend as a service (you can use that term to find alternatives), for setting up your backend as it is much easier for newer people to understand and lets you focus on your core application logic, and not provisioning servers, databases, etc.

See more
anas mattar
Technical Lead at DPO International · | 2 upvotes · 14.2K views
Recommends
JavaScript

Since you're team is already using JavaScript, there are alot of examples and open source projects written with NodeJs, so I preffer this language in your backend application and also I am recommended using Mongo DB with It for saving data in it, and also for your frontend application I am recommanded using VueJs.

See more
Hüseyin Özkılıç
Senior Full-Stack Developer at RADSoft · | 1 upvotes · 14.2K views

Make it simple, most of projects doesnt need a AI, ML or big algorithms. If your project just serving end users take it to the web ready compatible. (Javascript, .Net, PHP Laravel)

See more
Jamal Abdinasir
Product manager at abdinasirjamal171@gmail.com · | 1 upvotes · 14.6K views
Recommends

Kindly I don't find any help that solve this mystery I need more help if it will happen

See more
Nash Nziramasanga
Software Developer at Billow Software · | 1 upvotes · 14.2K views

Since you are already using JavaScript on the front end it would be easy to adopt the MERN (MongoDB, Express, React, NodeJS) stack which s all javascript based making it easy to transfer knowledge with the backend and front end

See more
View all (6)
Needs advice
on
Python
JavaScript
and
C++

Hello, I am interested in learning how to program. I am a beginner, and many articles saying I should go with Python if I am new to programming. I considered Lua a long time ago, but for my career, I believe major programming languages should be better for me. I'm considering Python at this moment, but if you have other tools I should use, let me know.

See more
Replies (1)
Recommends
Java
C#
C++
C

The language you choose is also dependant on the type of career / area of programming you wish to focus on: Web Based and mobile applicaitons I would lean towards Java, PC Applications I tend to like C#, Embedded industry C, C++

See more
Needs advice
on
PHP
JavaScript
and
Java

Hi there. I'm looking to build an employee time tracker web app. This should also be optimized for mobile. I'm trying to figure out what the best stack is for this. I have knowledge of Java, JavaScript, some C#. I don't mind learning a new language for this purpose. Any help or advice would be really awesome! Thanks.

See more
Replies (5)
Stephen Gheysens
Senior Solutions Engineer at Twilio · | 12 upvotes · 124.2K views
Recommends
JavaScript

Hi Otensia! I'd definitely recommend using the skills you've already got and building with JavaScript is a smart way to go these days. Most platform services have JavaScript/Node SDKs or NPM packages, many serverless platforms support Node in case you need to write any backend logic, and JavaScript is incredibly popular - meaning it will be easy to hire for, should you ever need to.

My advice would be "don't reinvent the wheel". If you already have a skill set that will work well to solve the problem at hand, and you don't need it for any other projects, don't spend the time jumping into a new language. If you're looking for an excuse to learn something new, it would be better to invest that time in learning a new platform/tool that compliments your knowledge of JavaScript. For this project, I might recommend using Netlify, Vercel, or Google Firebase to quickly and easily deploy your web app. If you need to add user authentication, there are great examples out there for Firebase Authentication, Auth0, or even Magic (a newcomer on the Auth scene, but very user friendly). All of these services work very well with a JavaScript-based application.

See more
Recommends
JavaScript

As you have knowledge of Javascript, I would go towards Vue/React in Frontend and Node (with suitable framework) with backend. From my point of view Java would be too bloated for suggested kind of an app. I myself use PHP as a backend a lot and React as frontend but moving thoughts towards full stack javascript world.

See more
Recommends
PHP
JavaScript

php is the best for beginners, and one of the best for web development at all, all the host servers can handle it, a basic knowledge in java is not enough for build a web site, but a basic knowledge in php is enough. learn php basics and oop and mvc design pattern or any framework like Laravel (optional), and javascript for frontend (a framework like React or Angular is optional but good) and you will build any web site you want.

See more
pramod shirsath
Founder at Supra Software Solutions · | 3 upvotes · 25.3K views

We migrated from PHP to Angular/PHP to Angular/Node to React/Node/AWS Lambda. React/Node(Typescript)/Lambda seems to be good so far as we have developed few applications (large and small) using this stack so far. React/Node/Lambda is also good for mobile. If you are planning to use AWS, you can use the S3 bucket to store the frontend and Lambda or EC2 for backend APIs.

See more
pramod shirsath
Founder at Supra Software Solutions · | 1 upvotes · 25.4K views
Recommends

We migrated from PHP to Angular/PHP to Angular/Node to React/Node/AWS Lambda. React/Node(Typescript)/Lambda seems to be good so far as we have developed few applications (large and small) using this stack so far. React/Node/Lambda is also good for mobile. If you are planning to use AWS, you can use the S3 bucket to store the frontend and Lambda or EC2 for backend APIs.

See more
View all (5)
Decisions about HTML5, JavaScript, and PHP
Leonardo Henrique da Silva Paixão

Simple Customer Registration Crud, with the functions of Register, Delete, Edit and List new and old customers registered in the Database. PostgreSQL was used as DBMS, due to its easy use and practicality.

Crud de Cadastro a Clientes simples, com as funções de Registrar, Deletar, Editar e Listar novos e antigos clientes cadastrado no Banco de Dados. Foi utilizado como SGBD o PostgreSQL, pelo seu facil uso e praticidade.

See more
Kirill Mikhailov

Go is a way faster than both Python and PHP, which is pretty understandable, but we were amazed at how good we adapted to use it. Go was a blessing for a team , since strict typing is making it very easy to develop and control everything inside team, so the quality was really good. We made huge leap forward in dev speed because of it.

See more
  • Client-Side: \ The form of our product is a web app because we would also provide a dashboard for displaying data and for some further purpose including data filtering and comparison. Hence, we would definitely use HTML5 for structuring the web, CSS3 for styling the web, and JavaScript for building the front-end logic. As for frameworks, we would use React because it is component-based that can keep our front-end code clean and organized. The virtual DOM of React also provides better efficiency in time when rendering the page. Furthermore, React has a greater number of users than Vue and Angular, thus have active communities for problem-spotting and problem-solving. We would also incorporate Bootstrap into our web app to provide an aesthetic user interface and thus to improve the user experience. The fact that Boostrap supports responsive site would also ease our workload if future adaptation for mobiles is needed.
See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of HTML5
Pros of JavaScript
Pros of PHP
  • 444
    New doctype
  • 388
    Local storage
  • 334
    Canvas
  • 285
    Semantic header and footer
  • 237
    Video element
  • 120
    Geolocation
  • 105
    Form autofocus
  • 98
    Email inputs
  • 84
    Editable content
  • 79
    Application caches
  • 9
    Cleaner Code
  • 8
    Easy to use
  • 4
    Semantical
  • 4
    Easy
  • 3
    Websockets
  • 3
    Better
  • 3
    Modern
  • 3
    Audio element
  • 2
    Content focused
  • 2
    Compatible
  • 2
    Portability
  • 2
    Semantic Header and Footer, Geolocation, New Doctype
  • 1.6K
    Can be used on frontend/backend
  • 1.5K
    It's everywhere
  • 1.1K
    Lots of great frameworks
  • 884
    Fast
  • 733
    Light weight
  • 412
    Flexible
  • 378
    You can't get a device today that doesn't run js
  • 280
    Non-blocking i/o
  • 230
    Ubiquitousness
  • 185
    Expressive
  • 49
    Extended functionality to web pages
  • 42
    Relatively easy language
  • 40
    Executed on the client side
  • 24
    Relatively fast to the end user
  • 20
    Pure Javascript
  • 15
    Functional programming
  • 9
    Async
  • 7
    Setup is easy
  • 6
    JavaScript is the New PHP
  • 6
    Full-stack
  • 6
    Because I love functions
  • 5
    Like it or not, JS is part of the web standard
  • 5
    Future Language of The Web
  • 5
    Can be used in backend, frontend and DB
  • 5
    Its everywhere
  • 5
    Expansive community
  • 4
    Everyone use it
  • 4
    Supports lambdas and closures
  • 4
    Love-hate relationship
  • 4
    Popularized Class-Less Architecture & Lambdas
  • 4
    Evolution of C
  • 4
    For the good parts
  • 4
    Easy to hire developers
  • 3
    Only Programming language on browser
  • 3
    Nice
  • 3
    Easy to make something
  • 3
    Promise relationship
  • 3
    Scope manipulation
  • 3
    Hard not to use
  • 3
    Client processing
  • 3
    Client side JS uses the visitors CPU to save Server Res
  • 3
    Stockholm Syndrome
  • 3
    Clojurescript
  • 3
    Easy
  • 3
    Can be used both as frontend and backend as well
  • 3
    Most Popular Language in the World
  • 3
    Versitile
  • 3
    No need to use PHP
  • 3
    Photoshop has 3 JS runtimes built in
  • 3
    Function expressions are useful for callbacks
  • 3
    Can be used on frontend/backend/Mobile/create PRO Ui
  • 3
    Because it is so simple and lightweight
  • 3
    Its fun and fast
  • 3
    It let's me use Babel & Typescript
  • 3
    What to add
  • 3
    1.6K Can be used on frontend/backend
  • 3
    Powerful
  • 3
    It's fun
  • 3
    Everywhere
  • 3
    Agile, packages simple to use
  • 1
    JavaScript j.s
  • 1
    Acoperișul 0757604335
  • 941
    Large community
  • 805
    Open source
  • 757
    Easy deployment
  • 481
    Great frameworks
  • 384
    The best glue on the web
  • 233
    Continual improvements
  • 181
    Good old web
  • 141
    Web foundation
  • 132
    Community packages
  • 123
    Tool support
  • 33
    Used by wordpress
  • 31
    Excellent documentation
  • 26
    Used by Facebook
  • 23
    Because of Symfony
  • 19
    Dynamic Language
  • 14
    Awesome Language and easy to implement
  • 14
    Cheap hosting
  • 14
    Very powerful web language
  • 13
    Fast development
  • 10
    Flexibility, syntax, extensibility
  • 10
    Because of Laravel
  • 10
    Easy to learn
  • 10
    Composer
  • 8
    Easiest deployment
  • 7
    Fastestest Time to Version 1.0 Deployments
  • 7
    Readable Code
  • 7
    Short development lead times
  • 7
    Worst popularity quality ratio
  • 6
    Fast
  • 6
    Most of the web uses it
  • 6
    Faster then ever
  • 5
    Open source and large community
  • 5
    Simple, flexible yet Scalable
  • 4
    Cheap to own
  • 4
    Is like one zip of air
  • 4
    Easy to learn, a big community, lot of frameworks
  • 4
    I have no choice :(
  • 4
    Has the best ecommerce(Magento,Prestashop,Opencart,etc)
  • 4
    Easy to use and learn
  • 4
    Large community, easy setup, easy deployment, framework
  • 4
    Open source and great framework
  • 3
    Great developer experience
  • 2
    Used by STOMT
  • 2
    Fault tolerance
  • 2
    Great flexibility. From fast prototyping to large apps
  • 2
    Interpreted at the run time
  • 2
    FFI
  • 2
    Walk away
  • 2
    Hard not to use
  • 2
    Safe the planet

Sign up to add or upvote prosMake informed product decisions

Cons of HTML5
Cons of JavaScript
Cons of PHP
    Be the first to leave a con
    • 21
      A constant moving target, too much churn
    • 20
      Horribly inconsistent
    • 14
      Javascript is the New PHP
    • 8
      No ability to monitor memory utilitization
    • 6
      Shows Zero output in case of ANY error
    • 5
      Can be ugly
    • 4
      Thinks strange results are better than errors
    • 2
      No GitHub
    • 1
      Slow
    • 19
      So easy to learn, good practices are hard to find
    • 16
      Inconsistent API
    • 8
      Fragmented community
    • 5
      Not secure
    • 2
      No routing system
    • 1
      Hard to debug
    • 1
      Old

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -
    - No public GitHub repository available -

    What is HTML5?

    HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.

    What is JavaScript?

    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.

    What is PHP?

    Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use HTML5?
    What companies use JavaScript?
    What companies use PHP?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with HTML5?
    What tools integrate with JavaScript?
    What tools integrate with PHP?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    May 6 2020 at 6:34AM

    Pinterest

    +6
    3
    1997
    +12
    5
    3248
    Oct 24 2019 at 7:43PM

    AppSignal

    +8
    5
    685
    Oct 11 2019 at 2:36PM

    LogRocket

    +8
    5
    1511
    Oct 3 2019 at 7:13PM

    Ably Realtime

    +8
    4
    3197
    +4
    7
    928
    What are some alternatives to HTML5, JavaScript, and PHP?
    Android SDK
    Android provides a rich application framework that allows you to build innovative apps and games for mobile devices in a Java language environment.
    WordPress
    The core software is built by hundreds of community volunteers, and when you’re ready for more there are thousands of plugins and themes available to transform your site into almost anything you can imagine. Over 60 million people have chosen WordPress to power the place on the web they call “home” — we’d love you to join the family.
    Java
    Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
    AngularJS
    AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
    React
    Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
    See all alternatives
    Reviews of HTML5, JavaScript, and PHP
    Review of
    PHP

    source: w3techs.com

    Rants about PHP are everywhere, but during the last years the language and the whole ecosystem has evolved.

    The lastest versions support namespaces, closures, traits, generators and with composer a dependency manager that changed the way PHP developers work and collaborate.

    Review of
    JavaScript

    excellent!!

    How developers use HTML5, JavaScript, and PHP
    Andrew Faulkner uses
    JavaScript

    Almost the entire app was written in Javascript, with JSON-based configuration and data storage. The following components were written and/or configured with Javascript:

    • Most server-side scripts, all unit tests, all build tools, etc. were driven by NodeJS.
    • ExpressJS served as the 'backend' server framework.
    • MongoDB (which stores essential JSON) was the main database.
    • MongooseJS was used as the main ORM for communicating with the database, with KnexJS used for certain edge cases.
    • MochaJS, ChaiJS, and ExpectJS were used for unit testing.
    • Frontend builds were done with Gulp and Webpack.
    • Package management was done primarily with npm - with a few exceptions that required the use of Bower (also configured with JSON).
    • "Templating" was done with Javascript dialect JSX.
    • The frontend was build primarily with ReactJS (as the View) and Redux (as the Controller / Store / frontend model).
    • Configuration was done with json files.

    The only notable exceptions were the use of SCSS (augmented by Compass) for styling, Bash for a few basic 'system chores' and CLI utilities required for development of the app (most notably git and heroku's CLI interface), and a bit of custom SQL for locations where the ORM extractions leaked (the app is DB-agnostic, but a bit of SQL was required to fill gaps in the ORMs when interfacing with Postgres).

    OutSystems uses
    JavaScript

    Read more on how to extend the OutSystems UI with Javascript here.

    OutSystems provides a very simple to use AJAX mechanism. However, developers can also use JavaScript extensively to customize how users interact with their applications, to create client side custom validations and dynamic behaviors, or even to create custom, very specific, AJAX interactions. For example, each application can have an application-wide defined JavaScript file or set of files included in resources. Page-specific JavaScript can also be defined.

    Gorka Llona uses
    JavaScript

    This GNU/GPL licensed Javascript library allows you to draw complex organizational charts that can't be drawn using Google's tool or equivalents. Orgchart structures are specified with JSON and can be generated on-the-fly by server-side scripts and databases. Events can be attached to clicks over the boxes. Multiple options can be defined; look at the repo for examples. This 1300-code-lines software component with contributors from 8 countries (and others for which I have to integrate their works) appears in the first page of Google Search results when searching for "Javascript Organizational Chart Library".

    OutSystems uses
    HTML5

    Read more on how to extend the OutSystems UI with HTML here.

    At the user interface level, the platform provides a rich visual editor that allows web interfaces to be composed by dragging and dropping. Instead of purely writing HTML, developers use visual widgets. These widgets are wrapped and are easy to reuse just by dragging and dropping without everyone needing to understand how they are built.

    Cloudcraft uses
    JavaScript

    JavaScript gets a bad rep, quite undeservedly so in my opinion. Today, JS is closer to functional languages than to the traditional-OO languages, and when used as such provides a great development experience. The pace of development is just picking up with transpilers like Babel making future advanced language features available to the masses today. At Cloudcraft.co, we write 100% of both the front-end (with React) and the backend (with Node.js) in Javascript, using the latest ES6 and even some ES7 features. This is not your grandfather's Javascript!

    MOKA Analytics uses
    JavaScript

    The application front-end is written in JavaScript (ES6). We originally selected it over TypeScript because many library typings at the time were still flaky and the transpilation time was slow.

    We are now re-considering TypeScript because 1) the tooling has improved significantly, and 2) and the root cause of the majority of our front-end bugs are related to typing (despite having PropTypes).

    Rajeshkumar T uses
    HTML5
    • Its used for "Food Ordering System" with Mobile Responsive theme.

    • Custom email template ( Static and dynamic updates)

    • Cart and checkout modules.

    • Banners and ads management.

    • Restaurant listing and website ordering.

    • It support all the mobile browser compatibility.

    Vladislav Moshynec uses
    PHP

    Use the ipwhois.io IP lookup API to quickly and simply integrate IP geolocation into your script or website. Save yourself the hassle of setting up local GeoIP libraries and having to remember to regularly update the data.

    GitHub

    ShadowICT uses
    PHP

    We use PHP as our main backend preprocessor. Being a well established language, it is supported by a large community as well as a dedicated team of developers. It is used for much heavier projects that do not require realtime processes as well as being used in a hybrid system alongside NodeJS.

    Andrew Gatenby uses
    PHP

    PHP has been the backbone of what we've done at Visualsoft for years. We have lots of experienced people who have used it and know how to get the best out of it. It's come on leaps and bounds over recent years, and is the basis of pretty much everything we'll build with.

    Ordius IT Solutions Pvt Ltd uses
    PHP

    The reason being they are simple to learn and easy to implement apps on any size.

    The learning curve for PHP and MySQL is less compared to MEAN. It’s advisable to learn PHP and MySQL if you want to have a taste of web-development or you are in a hurry.

    IPWHOIS.io - IP Geolocation API uses
    PHP

    Use the ipwhois.io IP lookup API to quickly and simply integrate IP geolocation into your script or website. Save yourself the hassle of setting up local GeoIP libraries and having to remember to regularly update the data.

    Andrew Gatenby uses
    HTML5

    All of our responsive wireframes that are used to build the front end of our clients' sites are built with HTML 5, so we can ensure the most efficient and up to date experience for their customers.

    Scrayos UG (haftungsbeschränkt) uses
    HTML5

    We exclusively use HTML5 instead of XHTML (or even older) HTML-versions. We like the new unity that HTML5 offers and try to keep our code according to the conventions.

    CloudRepo uses
    HTML5

    We don't leverage much of the new features in HTML5, except for the new Doctype - since it was the latest when we started designing, that's what we used.