GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   php + angular js vs php + jquery (https://gfy.com/showthread.php?t=1292641)

freecartoonporn 01-23-2018 08:33 PM

php + angular js vs php + jquery
 
i am old school for backend i use php and for front i use javascript,jquery,ajax


alright, i am confused , i cant figure out why major new sites are using angular js ..

its just frontend, so they gotta have something in backend to handle database queryes.

so why use angular js + php

instead of jquery + php

whats so special about angular js ?


are those sites who loads up quick and then fetches values from database, are those the ones using angular js ?
i have seen simmilar sites., who loads layout quick and then after couple of milli seconds data gets filled, which gets pulled from db.

is it popular becuase angular js is from google. ?

or am i missing something and angular js doesnt need anything server side like php to handle db queries. ?

thanks for your time.

edit:

looks like angular js is used . lets say i have 4 pages open on a site.,
each page has some value which gets changed on the fly after i i get notification.,
so without refreshing the pages all values gets upadated on all pages.,
is this angular js ?

lezinterracial 01-23-2018 11:09 PM

Sure they are using PHP on the back end?

Angular is part of the MEAN stack.
MongoDB Express Angular Node

Instead of the old school LAMP setup.

I am taking a Udemy course on MEAN. Kind of fun. The whole mongodb stuff is kind of confusing to me with all the {JSON} things going on. Collections instead of tables.

I have read somewhere that using MongoDB is a little faster and better than MySQL. But MySQL is better with there is a large database with many relations.

Javascript everywhere had been the cool thing for a while, with Node.js handling the back end.. But wait until next year, Maybe Golang will be the big thing.

lezinterracial 01-24-2018 12:07 AM

Gotta hold my nose when using the npm command. I may just stick with LAMP myself.

https://twitter.com/izs/status/911105515798720513

CurrentlySober 01-24-2018 08:44 AM

I love threads like this were everyone is just making up words and trying to sound clever :)

blackmonsters 01-24-2018 08:53 AM

Quote:

Originally Posted by CurrentlySober (Post 22177744)
I love threads like this were everyone is just making up words and trying to sound clever :)

:1orglaugh

sarettah 01-24-2018 08:57 AM

Quote:

Originally Posted by CurrentlySober (Post 22177744)
I love threads like this were everyone is just making up words and trying to sound clever :)

I vote for this for post of the year :thumbsup

.

blackmonsters 01-24-2018 09:04 AM

Quote:

Originally Posted by freecartoonporn (Post 22177189)
i am old school for backend i use php and for front i use javascript,jquery,ajax


alright, i am confused , i cant figure out why major new sites are using angular js ..

its just frontend, so they gotta have something in backend to handle database queryes.

so why use angular js + php

instead of jquery + php

whats so special about angular js ?


are those sites who loads up quick and then fetches values from database, are those the ones using angular js ?
i have seen simmilar sites., who loads layout quick and then after couple of milli seconds data gets filled, which gets pulled from db.

is it popular becuase angular js is from google. ?

or am i missing something and angular js doesnt need anything server side like php to handle db queries. ?

thanks for your time.

edit:

looks like angular js is used . lets say i have 4 pages open on a site.,
each page has some value which gets changed on the fly after i i get notification.,
so without refreshing the pages all values gets upadated on all pages.,
is this angular js ?

It's just another way of doing things.


Angularjs is a javascript framework, jQuery is a javascript library.

Neither of them can replace PHP in the backend.


Seven...

freecartoonporn 01-24-2018 09:17 AM

Quote:

Originally Posted by blackmonsters (Post 22177789)
It's just another way of doing things.


Angularjs is a javascript framework, jQuery is a javascript library.

Neither of them can replace PHP in the backend.


Seven...

alright,

which is lightwaeight and super fast ? angularjs or jquery ?

blackmonsters 01-24-2018 09:45 AM

Quote:

Originally Posted by freecartoonporn (Post 22177822)
alright,

which is lightwaeight and super fast ? angularjs or jquery ?

Considering everything they allow developers to do; they both are good.

A developer may like one over the other but the end product on the screen is going
to be the same quality as the developer.

freecartoonporn 01-24-2018 09:48 AM

Quote:

Originally Posted by blackmonsters (Post 22177873)
Considering everything they allow developers to do; they both are good.

A developer may like one over the other but the end product on the screen is going
to be the same quality as the developer.

i rea dangularjs is good for data binding , instead of dom manipulation in jquery .,

rogueteens 01-24-2018 09:56 AM

Quote:

Originally Posted by CurrentlySober (Post 22177744)
I love threads like this were everyone is just making up words and trying to sound clever :)

LOL! :1orglaugh:1orglaugh


All times are GMT -7. The time now is 06:39 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123