Getting started with CodeIgniter 4, master the basics of the PHP framework for beginners

Getting started with CodeIgniter 4, master the basics of the PHP framework for beginners
Author: Andrés Cruz
Publisher: Andres Cruz
Total Pages: 322
Release:
Genre: Computers
ISBN:

This book is for anyone who wants to build their first applications in CodeIgniter 4, this writing offers a step-by-step introduction to the framework, knowing the most relevant aspects of it and is focused above all on practice; It is assumed that the reader has knowledge and has developed in PHP and related technologies of the language, such as JavaScript, HTML and CSS, since, remember that to use any framework, you have to have the bases that support it, that is, your programming language. The book is aimed at those people who want to learn something new, learn about a framework that has very little documentation, who want to improve a skill in web development, who want to grow as a developer and who want to continue scaling their path with other frameworks superior to this one. As long as you meet at least some of the above considerations, this book is for you. Map This book has a total of 21 chapters and consists of explanations and practices. Chapters: Chapter 1: This chapter is intended to explain the environment needed to develop in CodeIgniter 4. Chapter 2: We take the first steps with the frameworks, we will know the official website of the framework, installation forms and advantages of each one of them, we install the framework, we will know the initial aspects on how to run the framework, configure a database, create our first components, the use of migrations for table management and we will see several cases on how to work with them, we will work with the MVC and create each of these components that define it from scratch, routing and of course, finishing the chapter with the traditional CRUD for one of our entities. Chapter 3: It is a practice for you, in which you have to create another CRUD; putting into practice everything seen in the first chapter. Chapter 4: You will know how to use the routes, grouped routes, their options and the different types. Chapter 5: We will know the use of the session and also of the flash session to save data and present it to the user. Chapter 6: You will learn to manage views in a reusable way. Chapter 7: We will see how to use a more modular scheme when defining controllers for each type of module. Chapter 8: We will know how to work with HTML forms and apply validations from the server side in CodeIgniter, knowing the types of validations, creating them and applying validations from the controller; to then finally show the errors by the view; we will also learn how to use helper functions in our forms. Chapter 9: We will learn more about models, some properties that we can define in them, the use of functions and common example cases. Chapter 10: We will learn to use filters to intercept requests; as a practical case, we will create an authentication module with login for our application in which we will protect the management module or dashboard. Chapter 11: In this chapter we build a Rest Api type CRUD that can be consumed with JSON or XML; being CRUD type operations and working mainly from the server side; it will be a process similar to the CRUD that we created in Chapter 2, but with some variations that are typical of this type of structure. Chapter 12: In this chapter you will learn to generate test data with seeders which are ideal for when we are starting to develop. Chapter 13: In this chapter we will learn how to handle the relational schema of the database in CodeIgniter; we will look at one-to-many and many-to-many relationships. Chapter 14: In this chapter we are going to work with uploading files in our application, to upload images to our movie model. Chapter 15: This chapter provides an introduction to the use of the libraries and help functions and how to use them. Chapter 16: In this chapter we will learn how to integrate the PayPal platform in CodeIgniter, in order to process payments directly from the application. Chapter 16: This chapter we will adapt Bootstrap 5 components in the application. Chapter 17: This chapter we will create an end user module with list and detail page. Chapter 18: This chapter we will make some changes in the Rest Api created previously to define additional methods such as upload, pagination, among others. Chapter 19: App with Vue, coming soon. Chapter 20: In this chapter we will learn how to integrate the PayPal platform in CodeIgniter, in order to process payments directly from the application. Chapter 21: This chapter we will know how to integrate CodeIgniter shield to handle authentication and authorization; also, we will create a small project with which we will learn to manage groups and permissions. By the end of the book, you will have the knowledge to create any basic application with the framework and know more than just the basics of it. I invite you to visit my website: desarrollolibre.net And get to know my work.

Getting started with Laravel 11, master the most popular PHP framework

Getting started with Laravel 11, master the most popular PHP framework
Author: Andres Cruz
Publisher: Andres Cruz
Total Pages: 592
Release:
Genre: Computers
ISBN:

This book is for anyone who wants to build their first applications in Laravel 11, this writing offers a step-by-step introduction to the framework, knowing the most relevant aspects of it and is focused above all on practice; it is assumed that the reader has knowledge and has developed PHP and related language technologies, such as JavaScript, HTML and CSS and even similar frameworks; Remember that to use any framework, you have to have the bases that support it, that is, its programming language. Map This book has a total of 22 chapters, it is recommended that you read in the order in which they are arranged and as we explain the components of the framework, go directly to the practice, replicate, test and modify the codes that we show in this book. Chapter 1: The necessary software is explained, and its installation to develop in Laravel on Windows with Laragon or Laravel Herd or on MacOS Laravel Herd and MacOS and Linux with Laravel Sail and Docker. Chapter 2: We will talk about Laravel, we will create a project, we will configure the database, we will know basic aspects of the framework and finally we will know the main element that are the routes. Chapter 3: We will take the first steps with the routes and the views, to start seeing screens through the browser; we’ll also cover using controllers with views; redirects, directives and blade as template engine. Chapter 4: We will know the use of migrations, as a central element to be able to create the models, which are the layer that connects to the database, to a particular table; and, to have this table, we need the migrations. Chapter 5: We will get to know the MVC, which is the heart of the framework, and we will make a few examples that will help us to continue advancing. Chapter 6: We will create a simple CRUD app, we will learn to work with the MVC, resource type controllers, lists, pagination, form validations, database access among other related aspects. Chapter 7: We will know how to send flash type session messages which we will use to confirm CRUD operations and session usage. Chapter 8: This chapter is oriented to learn the use of routes; which in Laravel are very extensible and full of options for groupings, types and options. Chapter 9: In this chapter, we are going to create an authentication system and all that this entails for our application by installing Laravel Breeze, which also configures Tailwind.css in the project and Alpine.js. Also we are going to expand the scheme provided by Laravel Breeze for authentication, creating a protection based on roles, to handle different types of users in specific modules of the application. Chapter 10: In this chapter, we will learn about some common Eloquent operations applied to the database using query builders. Chapter 11: We are going to introduce the use of components in Laravel as a central element to create a modular application. Chapter 12: We will learn to generate test data through classes using the seeder system that the framework incorporates. Chapter 13: We will learn how to create a CRUD type Rest Api and additional methods to perform additional queries. Also we are going to protect the CRUD type Rest Api with Sanctum, using SPA and token authentication. Chapter 14: We are going to consume the Rest Api through a CRUD application in Vue 3 using axios requests and web components with Oruga UI; we will also see the process of uploading files. Also we will protect the application in Vue with login required to access its different modules using SPA authentication or Laravel Sanctum tokens. Chapter 15: We are going to learn how to manage the cache, to save access data to improve application performance and avoid bottlenecks with the database. Chapter 16: We are going to learn how to manage access policies to certain application modules through Gates and Policies. Chapter 17: We will see how to handle polymorphism relationships to reuse models that have the same behavior. Chapter 18: We will see how to manage the permissions and roles of a user to authorize certain parts of the application with a flexible scheme and widely used in web applications of all kinds using Spatie, in this chapter we will learn how to perform this integration and we will develop a module to manage this permissions. Chapter 19: In this chapter, we will see how to manage configurations, environment variables, create help files, send emails and topics of this type that, as we mentioned previously, are fundamental in the development of web applications. Chapter 20: In this chapter, we will learn about important packages in Laravel to generate excels, qrs, seo, PayPal, detect mobile navigation among others. Chapter 21: We will learn how to create unit and integration tests in the Rest Api and the blog-type app using PHPUnit and Pest. (In Dev) Chapter 22: We will talk about how you can push your Laravel application to production. (In Dev) By the end of the book, you will have the knowledge to create any basic application with the framework and know more than just the basics of it. I invite you to visit my website: desarrollolibre.net And get to know my work.

Pro CodeIgniter

Pro CodeIgniter
Author: Alex Manfield Meng
Publisher: Independently Published
Total Pages: 396
Release: 2021-11-08
Genre:
ISBN:

CodeIgniter is a free and open source PHP Framework. The latest version 4 is incredibly powerful and fast, and allows developers to build performing applications in a short time. This book helps you to get started from zero with little knowledge of PHP . Web development is covered including JS, HTML, CSS, and SQL queries. Different technologies are also discussed to make your application professional and secure. You'll be able to build custom websites and complex web-apps with no limits to your creativity.

Smart Infrastructure and Applications

Smart Infrastructure and Applications
Author: Rashid Mehmood
Publisher: Springer
Total Pages: 667
Release: 2019-06-20
Genre: Technology & Engineering
ISBN: 3030137058

This book provides a multidisciplinary view of smart infrastructure through a range of diverse introductory and advanced topics. The book features an array of subjects that include: smart cities and infrastructure, e-healthcare, emergency and disaster management, Internet of Vehicles, supply chain management, eGovernance, and high performance computing. The book is divided into five parts: Smart Transportation, Smart Healthcare, Miscellaneous Applications, Big Data and High Performance Computing, and Internet of Things (IoT). Contributions are from academics, researchers, and industry professionals around the world. Features a broad mix of topics related to smart infrastructure and smart applications, particularly high performance computing, big data, and artificial intelligence; Includes a strong emphasis on methodological aspects of infrastructure, technology and application development; Presents a substantial overview of research and development on key economic sectors including healthcare and transportation.

Head First PHP & MySQL

Head First PHP & MySQL
Author: Lynn Beighley
Publisher: "O'Reilly Media, Inc."
Total Pages: 812
Release: 2009
Genre: Computers
ISBN: 0596006306

With this book, Web designers who usually turn out static Websites with HTML and CSS can make the leap to the next level of Web development--full-fledged, dynamic, database-driven Websites using PHP and SQL.

Modern PHP

Modern PHP
Author: Josh Lockhart
Publisher: "O'Reilly Media, Inc."
Total Pages: 251
Release: 2015-02-16
Genre: Computers
ISBN: 1491904992

PHP is experiencing a renaissance, though it may be difficult to tell with all of the outdated PHP tutorials online. With this practical guide, you’ll learn how PHP has become a full-featured, mature language with object-orientation, namespaces, and a growing collection of reusable component libraries. Author Josh Lockhart—creator of PHP The Right Way, a popular initiative to encourage PHP best practices—reveals these new language features in action. You’ll learn best practices for application architecture and planning, databases, security, testing, debugging, and deployment. If you have a basic understanding of PHP and want to bolster your skills, this is your book. Learn modern PHP features, such as namespaces, traits, generators, and closures Discover how to find, use, and create PHP components Follow best practices for application security, working with databases, errors and exceptions, and more Learn tools and techniques for deploying, tuning, testing, and profiling your PHP applications Explore Facebook’s HVVM and Hack language implementations—and how they affect modern PHP Build a local development environment that closely matches your production server

PHP

PHP
Author: Jamie Chan
Publisher:
Total Pages: 248
Release: 2020-06-23
Genre:
ISBN:

Learn PHP Fast and Learn It Well. Master PHP Programming with a unique Hands-On ProjectNew Book by Best Selling Author Jamie Chan. Book 6 of the Learn Coding Fast Series.Do you want to learn PHP fast but are overwhelmed by all the information you find online? Or perhaps you have completed numerous PHP tutorials but are still unsure how everything works together. This book is for you. You no longer have to waste your time and money learning PHP from lengthy books, expensive online courses or fragmented PHP tutorials. This book covers all the major topics in PHP and is written in a concise and to the point manner. In addition, you'll be guided through a project at the end of the book where you get to apply the concepts learned and see how it all ties together.What this book offers...PHP for BeginnersComplex concepts are broken down into simple steps to ensure that you can easily master PHP even if you have never coded before. Concepts are presented in a "to-the-point" style to cater to the busy individual; no fluff or unnecessary details.Careful selection of topicsTopics are carefully selected to give you a broad exposure to PHP. These topics include HTML form handling, security management (prevention of XSS and SQL injection), object-oriented programming, error and exception handling techniques, databases and more.Carefully Chosen PHP ExamplesExamples are carefully chosen to illustrate all concepts. In addition, the output for all examples is provided immediately so you do not have to wait till you have access to your computer to test the examples.How is this book different...The best way to learn programming is by doing. This book includes a complete project at the end of the book where you get to build a mini-blog using PHP and MySQL. Working through the project gives you a chance to see how everything works together, including how to set up your servers, create a database, connect to it, process forms, manage security issues, handle errors and exceptions and more. Completing the project will not only give you an immense sense of achievement, it'll also help you retain the knowledge you've learned and master the language.Are you ready to dip your toes into the exciting world of PHP coding? This book is for you. Click the BUY button and download it now.Pre-requisites: Note that this book requires basic knowledge of HTML and SQL.What you'll learn: - What is PHP- What software do you need to run PHP scripts- How to set up your own server- What are constants, variables and operators- What are the common data types in PHP- How to control the flow of your PHP program using If statements, while loops etc- How to use numerous built-in functions in PHP- How to define your own functions- What is a cookie and session and how to use them- How to process HTML forms using the get and post methods- How to prevent attacks on your site - What is OOP and inheritance- How to connect to a database- How to handle errors and exceptions.. and more...Finally, you'll be guided through a hands-on project that requires the application of all the topics covered.Click the BUY button and download the book now to start learning PHP. Learn it fast and learn it well.

PHP for the Web

PHP for the Web
Author: Larry Ullman
Publisher: Pearson Education
Total Pages: 744
Release: 2011-03-09
Genre: Computers
ISBN: 0132639882

With PHP for the World Wide Web, Fourth Edition: Visual QuickStart Guide, readers can start from the beginning to get a tour of the programming language, or look up specific tasks to learn just what they need to know. This task-based visual reference guide uses step-by-step instructions and plenty of screenshots to teach beginning and intermediate users this popular open-source scripting language. Leading technology author Larry Ullman guides readers through the latest developments including use and awareness of HTML5 with PHP. Other addressed changes include removal of outdated functions and more efficient ways to tackle common needs. Both beginning users, who want a thorough introduction to the technology, and more intermediate users, who are looking for a convenient reference, will find what they need here--in straightforward language and through readily accessible examples.

Object-Oriented PHP

Object-Oriented PHP
Author: Peter Lavin
Publisher: No Starch Press
Total Pages: 216
Release: 2006
Genre: Computers
ISBN: 1593270771

Presents an introduction to PHP and object-oriented programming, with information on such topics as classes, inheritance, RSS readers, and XML.

Laravel: Up & Running

Laravel: Up & Running
Author: Matt Stauffer
Publisher: O'Reilly Media
Total Pages: 555
Release: 2019-04-01
Genre: Computers
ISBN: 1492041181

What sets Laravel apart from other PHP web frameworks? Speed and simplicity, for starters. This rapid application development framework and its ecosystem of tools let you quickly build new sites and applications with clean, readable code. Fully updated to cover Laravel 5.8, the second edition of this practical guide provides the definitive introduction to one of today’s mostpopular web frameworks. Matt Stauffer, a leading teacher and developer in the Laravel community, delivers a high-level overview and concrete examples to help experienced PHP web developers get started with this framework right away. This updated edition also covers Laravel Dusk and Horizon and provides information about community resources and other noncore Laravel packages. Dive into features, including: Blade, Laravel’s powerful custom templating tool Tools for gathering, validating, normalizing, and filtering user-provideddata The Eloquent ORM for working with application databases The role of the Illuminate request object in the application lifecycle PHPUnit, Mockery, and Dusk for testing your PHP code Tools for writing JSON and RESTful APIs Interfaces for filesystem access, sessions, cookies, caches, and search Tools for implementing queues, jobs, events, and WebSocket event publishing