₦airaland Forum

Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,158,754 members, 4,702,087 topics. Date: Thursday, 17 January 2019 at 02:01 PM

Jave Script Or PHP - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Jave Script Or PHP (1052 Views)

Javascript Or PHP, Which One Should I Go For? / Script Or Software For Daily Contribution Biz / Anyone Interested In Having A Peer-to-peer Script Or Custom Made Website ? (2) (3) (4)

(1) (2) (Reply) (Go Down)

Jave Script Or PHP by mikezuruki(m): 11:37pm On Jan 01
Hello Everyone. Happy new year.

I started off my journey in programming with python last month, and so far, it has been really good experience.

With my little experience so far, I've come to know that every programming language has its advantage over others in its unique way.

Python for me is not the best option for Web development, so I'm in a cross road to seek advise from masters here as regards the subject above.

The option advised should be based on easier syntax, fast in running, interactive nature of the site, and the level of complexity in learning either one.

I would sincerely appreciate comments.

warm regards!
Re: Jave Script Or PHP by webapi: 12:46am On Jan 02
mikezuruki:
Hello Everyone. Happy new year.

I started off my journey in programming with python last month, and so far, it has been really good experience.

With my little experience so far, I've come to know that every programming language has its advantage over others in its unique way.

Python for me is not the best option for Web development, so I'm in a cross road to seek advise from masters here as regards the subject above.

The option advised should be based on easier syntax, fast in running, interactive nature of the site, and the level of complexity in learning either one.

I would sincerely appreciate comments.

warm regards!
Javascript and php serves two different purposes. JS is client side while php is server side. You cannot directly perform a CRUD in database using just JS. Php works with server. Meaning you must either be on local server or live server but JS can work on browser without a server... So to answer you question, Learn both but one after the other.
Re: Jave Script Or PHP by Reski(m): 5:42am On Jan 02
I'm a php developer. But JavaScript is currently the language of the web. You can use it on both side even on the server side with node.js looking like the hottest language in the moment.

2 Likes

Re: Jave Script Or PHP by kensmoney(m): 8:06am On Jan 02
[quote author=webapi post=74366258]
Javascript and php serves two different purposes. JS is client side while php is server side. You cannot directly perform a CRUD in database using just JS. Php works with server. Meaning you must either be on local server or live server but JS can work on browser without a server... So to answer you question, Learn both but one after the other.[/qu


With this ur comment i will assume dat u are not a developer .
JavaScript is perfect for web, ranging from front end to back end, front end( vue, angular, react etc) back end(node js)
There are a lot of JavaScript framework u can use for web/ mobile development
Re: Jave Script Or PHP by kensmoney(m): 8:09am On Jan 02
mikezuruki:
Hello Everyone. Happy new year.

I started off my journey in programming with python last month, and so far, it has been really good experience.

With my little experience so far, I've come to know that every programming language has its advantage over others in its unique way.

Python for me is not the best option for Web development, so I'm in a cross road to seek advise from masters here as regards the subject above.

The option advised should be based on easier syntax, fast in running, interactive nature of the site, and the level of complexity in learning either one.

I would sincerely appreciate comments.

warm regards!

Go for JavaScript, is like using one stone to kill two bird
Re: Jave Script Or PHP by Xcore91: 9:21am On Jan 02
I will say it good you start with python but on going with current technology base on my own opinion using python for web development is stronger and lighter using framework like django or flask but if you will stick with your python i recommend django for Python web development. the likes of wikipedia, google, youtube, fiveer where built using python


base on your question JavaScript can now be use for client and server side deployment thank God for different web technologies coming up the likes of angular, react and vuefor client side (major one but there are many more ) also vue.js and node is (server side major ones ) . and people now use react and vue for server side now with some crazy dependences and library .

despite the current form of PHP which is gradually fading away but I still see it as a very strong language too for server side deployment due to strong support of laravel framework but keep in mind 70% of ecommerce sites you see today were built with PHP and facebook was also built with PHP but some of there pages are now rebuilt with react but PHP was the backbone of facebook


but given you a recommendation I will choose you go for JS base on the current trend of web technologies. the likes of react and veu js can now be use to write android application which we all usually depend on java for also JS is also gaining stand gradually in artificial intelligence we now have the likes of tensorflow js and co for artificial intelligence development


so in all JS is the way


before end of the week I will be dropping an article on web development for 2019 which will be a guide for upcoming web developers


if all goes well too will launch NL 100 days of code for ( for front end web engineer)

learning markup language HTML5 and CSS3 and SASS

client side javascript with angular

UI/UX design using adobe XD




follow on twitter @darey_gr8

3 Likes

Re: Jave Script Or PHP by webapi: 9:34am On Jan 02
.
Re: Jave Script Or PHP by webapi: 9:40am On Jan 02
[quote author=kensmoney post=74370111][/quote]
Learning both is ideal bro.
Re: Jave Script Or PHP by mikezuruki(m): 12:31pm On Jan 02
Xcore91:
I will say it good you start with python but on going with current technology base on my own opinion using python for web development is stronger and lighter using framework like django or flask but if you will stick with your python i recommend django for Python web development. the likes of wikipedia, google, youtube, fiveer where built using python


base on your question JavaScript can now be use for client and server side deployment thank God for different web technologies coming up the likes of angular, react and vuefor client side (major one but there are many more ) also vue.js and node is (server side major ones ) . and people now use react and vue for server side now with some crazy dependences and library .

despite the current form of PHP which is gradually fading away but I still see it as a very strong language too for server side deployment due to strong support of laravel framework but keep in mind 70% of ecommerce sites you see today were built with PHP and facebook was also built with PHP but some of there pages are now rebuilt with react but PHP was the backbone of facebook


but given you a recommendation I will choose you go for JS base on the current trend of web technologies. the likes of react and veu js can now be use to write android application which we all usually depend on java for also JS is also gaining stand gradually in artificial intelligence we now have the likes of tensorflow js and co for artificial intelligence development


so in all JS is the way


before end of the week I will be dropping an article on web development for 2019 which will be a guide for upcoming web developers


if all goes well too will launch NL 100 days of code for ( for front end web engineer)

learning markup language HTML5 and CSS3 and SASS

client side javascript with angular

UI/UX design using adobe XD




follow on twitter @darey_gr8

You're saying I should go with django since I've already started with python?
Re: Jave Script Or PHP by mikezuruki(m): 12:34pm On Jan 02
Reski:
I'm a php developer. But JavaScript is currently the language of the web. You can use it on both side even on the server side with node.js looking like the hottest language in the moment.
JS script then. thanks.
Re: Jave Script Or PHP by Xcore91: 5:52pm On Jan 02
mikezuruki:


You're saying I should go with django since I've already started with python?


I recommend JS because u where comparing it with PHP, but making it easy for you since you have started python go with django for web development and by the way python for server side is superb

and it will even be very easy for you to migrate to learning JS web technologies after gaining stand with python.

1 Like

Re: Jave Script Or PHP by mikezuruki(m): 6:56pm On Jan 02
Xcore91:


I recommend JS because u where comparing it with PHP, but making it easy for you since you have started python go with django for web development and by the way python for server side is superb

and it will even be very easy for you to migrate to learning JS web technologies after gaining stand with python.
thanks.
perhaps I'll go with python all the way!

thanks again
Re: Jave Script Or PHP by stanliwise(m): 7:33pm On Jan 02
webapi:

Javascript and php serves two different purposes. JS is client side while php is server side. You cannot directly perform a CRUD in database using just JS. Php works with server. Meaning you must either be on local server or live server but JS can work on browser without a server... So to answer you question, Learn both but one after the other.
have you heard of NodeJs. it is server-side javascript
Re: Jave Script Or PHP by webapi: 8:00pm On Jan 02
stanliwise:
have you heard of NodeJs. it is server-side javascript

Yes i know. I was only speaking based on Javascript for web development not the frameworks or nodejs.
Re: Jave Script Or PHP by vezycash(m): 2:43pm On Jan 03
For web development...

If you plan to freelance for foreign companies, both JavaScript and Python are good choices.

For 9ja however, you'll get far more PHP related jobs than python for server side programming.

For client side i.e. interactivity on browser, JavaScript has no replacement!

Good job so far on your self-learning. Both languages are awesome for the web.

If you're learning for personal projects, consider hosting costs. PHP hosting is bloody cheap 5k per year for 9ja hosting.

Node and python hosting usually requires access to SSH - necessitating vps or cloud like aws, or azure. Shared cheap hosting for both ain't very common.

I think heroku & redshift have free hosting for node.js.

1 Like

Re: Jave Script Or PHP by MountainView: 5:49pm On Jan 03
webapi:

Javascript and php serves two different purposes. JS is client side while php is server side. You cannot directly perform a CRUD in database using just JS. Php works with server. Meaning you must either be on local server or live server but JS can work on browser without a server... So to answer you question, Learn both but one after the other.

Bro,with all due respect i don't think you're a developer.i don't think you've ever heard of such thing as "Node.js", better get your facts right, before coming here to pour out your ignorant thoughts.
Re: Jave Script Or PHP by webapi: 10:37pm On Jan 03
MountainView:


Bro,with all due respect i don't think you're a developer.i don't think you've ever heard of such thing as "Node.js", better get your facts right, before coming here to pour out your ignorant thoughts.

You are a fool. How many apps have you built with nodejs. I spoke to Op as javascript being a client side prog lang. Can you directly communicate with a server with just javascript? Answer me you fool. Php can directly communicate with server (primarily). Nodejs is built with c++ and not javascript. Nodejs is not a programming language. It is a runtime server engine that can run javascript. You are bastard for quoting me. Educate you foolishness here https://www.quora.com/What-is-the-difference-between-JavaScript-and-Node-js

3 Likes

Re: Jave Script Or PHP by webapi: 11:06pm On Jan 03
[quote author=kensmoney post=74370111][/quote]
I spoke to Op as javascript being a client side prog lang. Can you directly communicate with a server with just javascript? Answer me. Php can directly communicate with server (primarily). Nodejs is built with c++ and not javascript. Nodejs is not a programming language. It is a runtime server engine that can run javascript. Educate yourself here and stop talking rubbish
https://www.quora.com/What-is-the-difference-between-JavaScript-and-Node-js
Re: Jave Script Or PHP by abrahambest(m): 12:49am On Jan 04
I think both JavaScript and PHP are cool. Just make a choice
Re: Jave Script Or PHP by hichamaziz: 12:50pm On Jan 04
Php is for servers
Java script for clients
Re: Jave Script Or PHP by bjboss(m): 7:54pm On Jan 04
mikezuruki:

thanks.
perhaps I'll go with python all the way!

thanks again
I didnt want to rush and comment when u z python is not really an option for web... Djanjo has bn a great help and flask is another.. Guys ar really tryin to let you write javascript in python way.
Also, it depends on your context. For Enterprise application java spring,DotNet are another option.
#haveAGreatYearOfLearning
Re: Jave Script Or PHP by xactcore: 1:43pm On Jan 05
Xcore91:
I will say it good you start with python but on going with current technology base on my own opinion using python for web development is stronger and lighter using framework like django or flask but if you will stick with your python i recommend django for Python web development. the likes of wikipedia, google, youtube, fiveer where built using python


base on your question JavaScript can now be use for client and server side deployment thank God for different web technologies coming up the likes of angular, react and vuefor client side (major one but there are many more ) also vue.js and node is (server side major ones ) . and people now use react and vue for server side now with some crazy dependences and library .

despite the current form of PHP which is gradually fading away but I still see it as a very strong language too for server side deployment due to strong support of laravel framework but keep in mind 70% of ecommerce sites you see today were built with PHP and facebook was also built with PHP but some of there pages are now rebuilt with react but PHP was the backbone of facebook


but given you a recommendation I will choose you go for JS base on the current trend of web technologies. the likes of react and veu js can now be use to write android application which we all usually depend on java for also JS is also gaining stand gradually in artificial intelligence we now have the likes of tensorflow js and co for artificial intelligence development


so in all JS is the way


before end of the week I will be dropping an article on web development for 2019 which will be a guide for upcoming web developers


if all goes well too will launch NL 100 days of code for ( for front end web engineer)

learning markup language HTML5 and CSS3 and SASS

client side javascript with angular

UI/UX design using adobe XD




follow on twitter @darey_gr8

you can also check this practical guideout https://www.nairaland.com/4941764/practical-guide-web-development-2019
Re: Jave Script Or PHP by stanliwise(m): 6:13pm On Jan 08
webapi:


You are a fool. How many apps have you built with nodejs. I spoke to Op as javascript being a client side prog lang. Can you directly communicate with a server with just javascript? Answer me you fool. Php can directly communicate with server (primarily). Nodejs is built with c++ and not javascript. Nodejs is not a programming language. It is a runtime server engine that can run javascript. You are bastard for quoting me. Educate you foolishness here https://www.quora.com/What-is-the-difference-between-JavaScript-and-Node-js
I am not the one who reply you first o am just a passerby. You're right when you said, NodeJS isn't language but how will you say because NodeJS is coded with C++ that is what make it not qualified to to compete wih php.
as a matter of fact php is built with C++ also. NodeJS just uses Javascript syntax to achieve it instructions set. it could have been created with its own language so in conclusion I support the Notion that Javascript is a server side language courtsey NodeJS.
Re: Jave Script Or PHP by zerozz(m): 8:28am On Jan 09
JavaScript is client side language with some frameworks you can use on the sever. Php is server side language.
programmers normally work with both languages
Re: Jave Script Or PHP by stanliwise(m): 11:38am On Jan 09
zerozz:
JavaScript is client side language with some frameworks you can use on the sever. Php is server side language.
programmers normally work with both languages
oga what are you saying, Javscript was used for client side programming doesn't make it a client side programming language. Javascript is used in many other things aside web and there is nothing tieing javascript to client. Everything you wrote up there are misleading(no disrepect intented). NodeJs is an enviroment just like JVM(Java virtual machine) and it is not a framework. Look up for definition of a framework.
Re: Jave Script Or PHP by zerozz(m): 1:18pm On Jan 09
stanliwise:
oga what are you saying, Javscript was used for client side programming doesn't make it a client side programming language. Javascript is used in many other things aside web and there is nothing tieing javascript to client. Everything you wrote up there are misleading(no disrepect intented). NodeJs is an enviroment just like JVM(Java virtual machine) and it is not a framework. Look up for definition of a framework.
Initially only implemented client-side in web
browsers, JavaScript engines are now
embedded in many other types of host
software, including server-side in web
servers and databases, and in non-web
programs such as word processors and
PDF software, and in runtime environments
that make JavaScript available for writing
mobile and desktop applications, including
desktop widgets.
Re: Jave Script Or PHP by stanliwise(m): 2:08pm On Jan 09
zerozz:

Initially only implemented client-side in web
browsers, JavaScript engines are now
embedded in many other types of host
software, including server-side in web
servers and databases, and in non-web
programs such as word processors and
PDF software, and in runtime environments
that make JavaScript available for writing
mobile and desktop applications, including
desktop widgets.
This is also a lie, Javascripting has been used for sever-side since 1995 (the same year it was created) , you will find this fact in any JSON books.

Server-side JavaScript

In December 1995, soon after releasing JavaScript for
browsers, Netscape introduced an implementation of the
language for server-side scripting with Netscape Enterprise
Server . [21]
Since 1996, the IIS web-server has supported Microsoft's
implementation of server-side Javascript -- JScript—in ASP
and .NET pages. [22]
Since the mid-2000s, additional server-side JavaScript
implementations have been introduced, such as Node.js in
2009. [23]
sourrce: wikipedia.com
Re: Jave Script Or PHP by teekrackz(m): 5:15pm On Jan 11
zerozz:
JavaScript is client side language with some frameworks you can use on the sever. Php is server side language.
programmers normally work with both languages
Bro, saw one of your post back in 2018, pls can u make your mail address available so that I can contact you, cause I need your guidance.
Re: Jave Script Or PHP by benjibabs(m): 5:32pm On Jan 11
mikezuruki:
Hello Everyone. Happy new year.

I started off my journey in programming with python last month, and so far, it has been really good experience.

With my little experience so far, I've come to know that every programming language has its advantage over others in its unique way.

Python for me is not the best option for Web development, so I'm in a cross road to seek advise from masters here as regards the subject above.

The option advised should be based on easier syntax, fast in running, interactive nature of the site, and the level of complexity in learning either one.

I would sincerely appreciate comments.

warm regards!

I think the first thing to do is to define what you want to achieve. Do you want to learn programming as an hobby or do you want to be a pro in it? Frontend or backend ? Web, desktop or mobile? So, ask yourself what do you want to do with the programming skills at the end of the day?
When you nail that down, selecting a language and track will be easy.

You may want to check out this post to spark your interest.

https://www.nairaland.com/4781324/web-developer-roadmap-2018
Re: Jave Script Or PHP by zerozz(m): 9:55pm On Jan 11
teekrackz:

Bro, saw one of your post back in 2018, pls can u make your mail address available so that I can contact you, cause I need your guidance.
those3boys459@gmail.com
Re: Jave Script Or PHP by zerozz(m): 10:02pm On Jan 11
stanliwise:
oga what are you saying, Javscript was used for client side programming doesn't make it a client side programming language. Javascript is used in many other things aside web and there is nothing tieing javascript to client. Everything you wrote up there are misleading(no disrepect intented). NodeJs is an enviroment just like JVM(Java virtual machine) and it is not a framework. Look up for definition of a framework.
NodeJs is not a framework? Bro you have more learning to do ok. can I see your portfolio?
Re: Jave Script Or PHP by mikezuruki(m): 11:04pm On Jan 11
benjibabs:


I think the first thing to do is to define what you want to achieve. Do you want to learn programming as an hobby or do you want to be a pro in it? Frontend or backend ? Web, desktop or mobile? So, ask yourself what do you want to do with the programming skills at the end of the day?
When you nail that down, selecting a language and track will be easy.

You may want to check out this post to spark your interest.

https://www.nairaland.com/4781324/web-developer-roadmap-2018


Thanks.
really helpful. do you have same thing like this for python?

(1) (2) (Reply)

The Computer And The Internet / Real Hacker Needed!!! (encryption Breaker) / Automated Bursary System For School Management

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (0) (1) (2) (3) (4) (5) (6) (7) (8) (9)

Nairaland - Copyright © 2005 - 2019 Oluwaseun Osewa. All rights reserved. See How To Advertise. 175
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.