Login CakePHP 4 script

CakePHP 4 , login biasanya menggunakan Authentication plugin . Berikut alurnya: 1. Install Authentication Plugin Jalankan di terminal: composer require cakephp/authentication 2. Load Plugin di Application.php Di file src/Application.php , tambahkan: $this->addPlugin('Authentication'); 3. Middleware Authentication Masih di Application.php , tambahkan ke middleware() : use Authentication\Middleware\AuthenticationMiddleware; $middlewareQueue->add(new AuthenticationMiddleware($this)); 4. Konfigurasi Authentication Di src/Application.php , dalam method getAuthenticationService() : use Authentication\AuthenticationService; use Authentication\AuthenticationServiceInterface; use Authentication\Identifier\IdentifierInterface; use Authentication\Middleware\AuthenticationMiddleware; use Psr\Http\Message\ServerRequestInterface; public function getAuthenticationService(ServerRequestInterface $request): AuthenticationServiceInterface { $service = new Authenticatio...

beginner to Adobe Illustrator, here are some tips and resources to help you get started

Adobe Illustrator is a vector-based graphics editor developed and marketed by Adobe Inc. It is a powerful software used for creating logos, icons, typography, illustrations, and other graphics for print, web, and multimedia. Unlike raster graphics editors such as Photoshop, Illustrator uses mathematical equations to create shapes and lines, which makes it possible to scale vector graphics to any size without losing quality. Illustrator is widely used in the graphic design industry and is a popular tool for creating vector-based artwork.

1. Familiarize yourself with the interface: Before you start creating anything, take some time to explore the different panels, tools, and menus in Illustrator. This will give you a better understanding of how the program works and what it can do.

2. Learn the basics: Once you're familiar with the interface, start learning the basic tools and features of Illustrator. This includes things like creating shapes, drawing lines, using the pen tool, selecting objects, and applying color.

3. Practice, practice, practice: The best way to get better at Illustrator is to use it regularly. Set aside some time each day to work on a project or practice using different tools and techniques.

4. Watch tutorials: There are countless Illustrator tutorials available online that can help you learn new skills and techniques. Some good places to start include Adobe's official Illustrator tutorials and websites like Lynda.com or Udemy.

5. Join a community: There are plenty of online communities and forums where you can connect with other Illustrator users and get feedback on your work. Some good options include the Adobe Illustrator Community or the Illustrator subreddit.

6. Experiment: Don't be afraid to try new things and experiment with different techniques. Some of the best Illustrator designs come from pushing the limits of what's possible with the program.

7. Keep learning: Illustrator is a complex program, and there's always something new to learn. Keep up-to-date with the latest features and techniques by reading blogs, attending workshops, or taking online courses.

Overall, learning Illustrator takes time and practice, but with dedication and a willingness to learn, you can create amazing designs and illustrations.



Comments