Skip to content

Instantly share code, notes, and snippets.

View trueshizus's full-sized avatar

Jesus Herrera trueshizus

View GitHub Profile

Development Tools

Front end Tools

Angular JS

AngularJS (commonly referred to as "Angular.js" or "AngularJS 1.X") is a JavaScript-based open-source front-end web application framework mainly maintained by Google and by a community of individuals and corporations to address many of the challenges encountered in developing single-page applications. The JavaScript components complement Apache Cordova, the framework used for developing cross-platform mobile apps. It aims to simplify both the development and the testing of such applications by providing a framework for client-side model–view–controller (MVC) and model–view–viewmodel (MVVM) architectures, along with components commonly used in rich Internet applications. In 2014, the original AngularJS team began working on Angular (Application Platform).

React

In computing, React (sometimes styled React.js or ReactJS) is an open-source (with caveats) JavaScript library for building user interfaces. It is maintained by Facebook, Instagram and a comm

<article>
<h2>My title</h2>
<img src="image_path.jpg" alt="article image">
<p>
| ...content
</p>
</article>
{
block: 'article',
content : [
{
elem : 'title',
content : '%title%'
},
{ block : 'image' },
{
elem : 'content',
class ApiManager
include HTTParty # We use HTTParty to handle Api requests
base_uri Rails.application.secrets.api_host
def initialize
@page_number = 0
end
def products(provider)
options = { query: { page: 0 } }
ApiManager.new.products.each { |product| puts product[‘description’] }
{
"products": [
{
"id": "4",
"description": "product 4",
"price": "20"
}
]
}
{
"products": [
{
"id": "1",
"description": "product 1",
"price": "10"
},
{
"id": "2",
"description": "product 2",
{
"products": [
{
"id": "1",
"description": "product 1",
"price": "10"
},
{
"id": "2",
"description": "product 2",