0% found this document useful (0 votes)
12 views11 pages

Ra1 U1 Laravel

Laravel notificaitons
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views11 pages

Ra1 U1 Laravel

Laravel notificaitons
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

PROYECT:

“RA1”

TÉCNICO SUPERIOR UNIVERSITARIO EN


TECNOLOGÍAS DE LA INFORMACIÓN
ÁREA DESARROLLO DE SOFTWARE
MULTIPLATAFORMA

PRESENTS:

RIVERA ORTIZ LUIS FELIPE

Docente: Ing. Eder Ivan


Hernandez Dominguez

5-A
CT. REYNOSA, TAMAULIPAS
AUGUST 2024.

1
Index
Topic Pag

i
e
Index.......................................................................i
Index of Figures......................................................ii
Introduction............................................................1
Chapter 1. Necessary Software..............................2
1.1 NodeJS.........................................................................................2
1.2 Composer....................................................................................3
1.3 Xampp.........................................................................................3
Conclusion..............................................................5
References..............................................................6

ii
Index of Figures

Figure
Page
Figure 1. NodeJS....................................................................................2
Figure 2. Xampp....................................................................................4

iii
Introduction

Laravel is an easy-to-use web framework that will help you create


extensible PHP-based websites and web applications at scale. Before
creating a web app or website, you need to make a foundational
decision as to what technology you are going to use. This is one of the
trickiest parts of the web development process. To use this framework
there are some requirements that we will see in this document.

1
Chapter 1. Necessary Software

There is some software that must be installed, such as NodeJS,


composer, and Xamp.

1.1 NodeJS

Node.js is an open-source and cross-platform JavaScript runtime


environment. It is a powerful tool suitable for a wide range of projects.
Node.js stands out as a game-changer. Imagine using the power of
JavaScript not only in your browser but also on the server side. Laravel
uses Node.js to compile some of its assets, such as the main CSS file.

 Laravel utilizes Node.js during the build process to compile assets


like frontend code (JavaScript) and styles (CSS) using tools like
Webpack or Mix (a Laravel wrapper for Webpack).
 These tools leverage Node.js environment to minify, combine, and
potentially transpile your frontend code for better performance and
browser compatibility.

Figure 1. NodeJS

2
1.2 Composer

Composer is a dependency manager for PHP that allows you to install


and manage the necessary libraries for your Laravel project.

 Laravel uses Composer in its installation process. You typically use


the composer global require laravel/installer command to install a
global Laravel installer. Then, you can create a new project using
laravel new your-project-name.
 Once the project is created, Composer manages all the required
third-party libraries (dependencies) listed in your project's
composer.json file. You can install or update dependencies using
Composer commands like composer install or composer update.

1.3 Xampp

XAMPP is a free, open source software package that includes Apache,


MySQL, PHP and other tools needed for web development. While it is
not mandatory to install Laravel, it can be a convenient option if you
are new to web development and need a pre-configured environment
to run your Laravel application.

 XAMPP provides a convenient local development environment. It


bundles Apache (web server), MySQL (database), PHP, and other
tools.

3
Figure 2. Xampp

 Laravel itself doesn't directly interact with XAMPP in code.


However, during development, you might configure your Laravel
project to point to the Apache web server and MySQL database
running within XAMPP. This allows you to test your Laravel
application locally by accessing it through a URL like
http://localhost:8000 (assuming default XAMPP port).

4
Conclusion

While XAMPP simplifies the initial setup, Composer and Node.js are
more directly involved in the development process itself. By
understanding their roles, you can effectively build and manage your
Laravel applications.

5
References

GeeksforGeeks. (2024, Abril 17). geeksforgeeks. Retrieved from


https://www.geeksforgeeks.org/node-js-introduction/

You might also like