🔒 Closed Website

Status
Not open for further replies.
ano po function sa react js? parang syang ajax na mag interact sa database?

Best resource is to read the docs You do not have permission to view the full content of this post. Log in or register now. and try it.

React JS is a JavaScript framework for creating user interfaces. How is it different with other frameworks?

* It's JavaScript. Depending where you look online, JavaScript is either rank 1 as the most popular language or at least you'd see it at rank 2-10.

* Everything is a component - meaning the separation of concerns is not HTML, CSS, JavaScript. A simple analogy is instead of dividing a cake horizontally (which sounds stupid but that's what we do often in the UI), we slice vertically. So each slice is self-contained flavor from the icing to the base cake.

* You don't write HTML to describe the markup but you write it them as JSX components

* It only deals with the view layer (displaying the UI). It doesn't deal with the database. React is client side but can also be rendered from the server side

* It's created by Facebook. That means it's backed by a powerhouse entity.

* React JS has a mobile counterpart named React Native. So if you know React JS, you will be familiar with React Native which is used by Facebook to develop their mobile app and also Instagram app.

* It has a large community -- meaning lots of free plugins to use, ie charts, forms, visualization, etc.

* React embraces unidirectional flow of data. A good analogy is the direction comes from the general and not from the private soldiers. This gives order. Imagine if the private soldiers are the one making demands (and the funny thing is this is what inexperienced programmers are doing).
 
Oh you can use ReactJS (same thing with Angular and Vue) with any of the server side languages like Php, Java, Python, Ruby, Go.

If you can use JavaScript, HTML, CSS as the view technologies for your server side language, then I'd say any JavaScript framework will work.
 
php or asp kasi mas secure ito. at madami din ang resources mahanap mo kung may error

This is incorrect information. Php or Asp aren't more secure than Java or Go or Ruby. Security is a totally different topic.

In fact none of them are secure unless you make them secure. It's like saying Nike and Adidas make you a better basketball player. Being good at basketball and having nice shoes are totally two different things.
 
Status
Not open for further replies.

About this Thread

  • 22
    Replies
  • 826
    Views
  • 7
    Participants
Last reply from:
pixkit

Online now

Members online
601
Guests online
726
Total visitors
1,327

Forum statistics

Threads
2,278,912
Posts
28,986,753
Members
1,227,636
Latest member
kitzzygamer
Back
Top