diff --git a/categories/chatgpt/index.html b/categories/chatgpt/index.html index 85af3b7..2abf41b 100644 --- a/categories/chatgpt/index.html +++ b/categories/chatgpt/index.html @@ -2,12 +2,12 @@ chatgpt -
Avatar
😀

Organizations

@gnetos @password-security @rss
  • When use laravel and when use spring boot

    Laravel and Spring Boot are two popular web application frameworks that are often compared to each other. Laravel is a PHP framework, while Spring Boot is a Java framework. The choice between the two will depend on a variety of factors, such as the specific requirements of the project, the language that the developers are comfortable with, and the type of application that is being built.

    Created +7
    • When use laravel and when use spring boot

      Laravel and Spring Boot are two popular web application frameworks that are often compared to each other. Laravel is a PHP framework, while Spring Boot is a Java framework. The choice between the two will depend on a variety of factors, such as the specific requirements of the project, the language that the developers are comfortable with, and the type of application that is being built.

      Created Mon, 12 Dec 2022 00:00:00 +0000
\ No newline at end of file diff --git a/categories/devops/index.html b/categories/devops/index.html index bf34ab9..fba2996 100644 --- a/categories/devops/index.html +++ b/categories/devops/index.html @@ -2,12 +2,12 @@ devops -
Avatar
😀

Organizations

@gnetos @password-security @rss
\ No newline at end of file diff --git a/categories/index.html b/categories/index.html index 2ea641d..4f91347 100644 --- a/categories/index.html +++ b/categories/index.html @@ -2,15 +2,15 @@ Categories -
Avatar
😀

Organizations

@gnetos @password-security @rss
  • Created +7
    • Created +Mon, 01 Jan 0001 00:00:00 +0000
    • Created Mon, 01 Jan 0001 00:00:00 +0000
    • Created -Mon, 01 Jan 0001 00:00:00 +0000
    • Created Mon, 01 Jan 0001 00:00:00 +0000
    • Created Mon, 01 Jan 0001 00:00:00 +0000
\ No newline at end of file diff --git a/categories/index.xml b/categories/index.xml index 54dbce6..2930450 100644 --- a/categories/index.xml +++ b/categories/index.xml @@ -1 +1 @@ -Categories onhttps://lightszentip.github.io/categories/Recent content in Categories onHugo -- gohugo.ioen-GBSat, 01 Jul 2023 00:00:00 +0000pihttps://lightszentip.github.io/categories/pi/Sat, 01 Jul 2023 00:00:00 +0000https://lightszentip.github.io/categories/pi/chatgpthttps://lightszentip.github.io/categories/chatgpt/Mon, 12 Dec 2022 00:00:00 +0000https://lightszentip.github.io/categories/chatgpt/laravelhttps://lightszentip.github.io/categories/laravel/Mon, 12 Dec 2022 00:00:00 +0000https://lightszentip.github.io/categories/laravel/devopshttps://lightszentip.github.io/categories/devops/Fri, 09 Dec 2022 00:00:00 +0000https://lightszentip.github.io/categories/devops/ \ No newline at end of file +Categories onhttps://lightszentip.github.io/categories/Recent content in Categories onHugo -- gohugo.ioen-GBSat, 01 Jul 2023 00:00:00 +0000laravelhttps://lightszentip.github.io/categories/laravel/Sat, 01 Jul 2023 00:00:00 +0000https://lightszentip.github.io/categories/laravel/pihttps://lightszentip.github.io/categories/pi/Sat, 01 Jul 2023 00:00:00 +0000https://lightszentip.github.io/categories/pi/chatgpthttps://lightszentip.github.io/categories/chatgpt/Mon, 12 Dec 2022 00:00:00 +0000https://lightszentip.github.io/categories/chatgpt/devopshttps://lightszentip.github.io/categories/devops/Fri, 09 Dec 2022 00:00:00 +0000https://lightszentip.github.io/categories/devops/ \ No newline at end of file diff --git a/categories/laravel/index.html b/categories/laravel/index.html index 0519704..331aa44 100644 --- a/categories/laravel/index.html +++ b/categories/laravel/index.html @@ -2,13 +2,14 @@ laravel -
Avatar
😀

Organizations

@gnetos @password-security @rss
\ No newline at end of file diff --git a/categories/laravel/index.xml b/categories/laravel/index.xml index e1fd14e..1bbef6f 100644 --- a/categories/laravel/index.xml +++ b/categories/laravel/index.xml @@ -1,4 +1,4 @@ -laravel onhttps://lightszentip.github.io/categories/laravel/Recent content in laravel onHugo -- gohugo.ioen-GBMon, 12 Dec 2022 00:00:00 +0000Setup Laravel to use mssqlhttps://lightszentip.github.io/post/2022-12-12-laravel-mssql/Mon, 12 Dec 2022 00:00:00 +0000https://lightszentip.github.io/post/2022-12-12-laravel-mssql/<h1 id="setup-laravel-to-use-mssql">Setup Laravel to use mssql</h1> +laravel onhttps://lightszentip.github.io/categories/laravel/Recent content in laravel onHugo -- gohugo.ioen-GBSat, 01 Jul 2023 00:00:00 +0000Implementing MVC Architecture with Repository Pattern in Laravelhttps://lightszentip.github.io/post/2023-07-01-mvc-laravel/Sat, 01 Jul 2023 00:00:00 +0000https://lightszentip.github.io/post/2023-07-01-mvc-laravel/A Example for laravel MVCSetup Laravel to use mssqlhttps://lightszentip.github.io/post/2022-12-12-laravel-mssql/Mon, 12 Dec 2022 00:00:00 +0000https://lightszentip.github.io/post/2022-12-12-laravel-mssql/<h1 id="setup-laravel-to-use-mssql">Setup Laravel to use mssql</h1> <h2 id="install-mssql-driver-for-php">Install mssql driver for php</h2> <p>Driver: <a href="https://websolutionstogo.de/blog/mssql-microsoft-sql-treiber-in-xampp-einbinden/">https://websolutionstogo.de/blog/mssql-microsoft-sql-treiber-in-xampp-einbinden/</a></p> <h2 id="setup-env">Setup .env</h2> diff --git a/categories/pi/index.html b/categories/pi/index.html index e48464a..98b3be4 100644 --- a/categories/pi/index.html +++ b/categories/pi/index.html @@ -2,12 +2,12 @@ pi -
Avatar
😀

Organizations

@gnetos @password-security @rss
\ No newline at end of file diff --git a/index.html b/index.html index 1db7e0c..197a4a6 100644 --- a/index.html +++ b/index.html @@ -2,13 +2,19 @@
Avatar
😀

Organizations

@gnetos @password-security @rss

Popular posts

  1. How to reduce the size of log dir on pi

  2. When use laravel and when use spring boot

    Laravel and Spring Boot are two popular web application frameworks that are often compared to each other. Laravel is a PHP framework, while Spring Boot is a Java framework. The choice between the two will depend on a variety of factors, such as the specific requirements of the project, the language that the developers are comfortable with, and the type of application that is being built.

  3. Setup Laravel to use mssql

    Install mssql driver for php

    Driver: https://websolutionstogo.de/blog/mssql-microsoft-sql-treiber-in-xampp-einbinden/

    Setup .env

    Open the .env file and change the following settings:

  4. Setup Laravel to use sqlite

    Setup .env

    Open the .env file and change the following settings:

  5. Dependabot vs Renovate - build secure and uptodate software artifacts

    Currently it exists two good systems to update software dependencies.

  6. This is a test post

<link>https://lightszentip.github.io/</link><description>Recent content on</description><generator>Hugo -- gohugo.io</generator><language>en-GB</language><lastBuildDate>Sat, 01 Jul 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://lightszentip.github.io/index.xml" rel="self" type="application/rss+xml"/><item><title>PI - reduce size of log dirhttps://lightszentip.github.io/post/2023-07-01-pi-log/Sat, 01 Jul 2023 00:00:00 +0000https://lightszentip.github.io/post/2023-07-01-pi-log/How to reduce the size of log dir on piChatGPT - Laravel vs Spring Boothttps://lightszentip.github.io/post/2022-12-13-chatgpt-laravel-spring-boot/Mon, 12 Dec 2022 00:00:00 +0000https://lightszentip.github.io/post/2022-12-13-chatgpt-laravel-spring-boot/<h1 id="when-use-laravel-and-when-use-spring-boot">When use laravel and when use spring boot</h1> +<link>https://lightszentip.github.io/</link><description>Recent content on</description><generator>Hugo -- gohugo.io</generator><language>en-GB</language><lastBuildDate>Sat, 01 Jul 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://lightszentip.github.io/index.xml" rel="self" type="application/rss+xml"/><item><title>Implementing MVC Architecture with Repository Pattern in Laravelhttps://lightszentip.github.io/post/2023-07-01-mvc-laravel/Sat, 01 Jul 2023 00:00:00 +0000https://lightszentip.github.io/post/2023-07-01-mvc-laravel/A Example for laravel MVCPI - reduce size of log dirhttps://lightszentip.github.io/post/2023-07-01-pi-log/Sat, 01 Jul 2023 00:00:00 +0000https://lightszentip.github.io/post/2023-07-01-pi-log/How to reduce the size of log dir on piChatGPT - Laravel vs Spring Boothttps://lightszentip.github.io/post/2022-12-13-chatgpt-laravel-spring-boot/Mon, 12 Dec 2022 00:00:00 +0000https://lightszentip.github.io/post/2022-12-13-chatgpt-laravel-spring-boot/<h1 id="when-use-laravel-and-when-use-spring-boot">When use laravel and when use spring boot</h1> <p>Laravel and Spring Boot are two popular web application frameworks that are often compared to each other. Laravel is a PHP framework, while Spring Boot is a Java framework. The choice between the two will depend on a variety of factors, such as the specific requirements of the project, the language that the developers are comfortable with, and the type of application that is being built.</p>Setup Laravel to use mssqlhttps://lightszentip.github.io/post/2022-12-12-laravel-mssql/Mon, 12 Dec 2022 00:00:00 +0000https://lightszentip.github.io/post/2022-12-12-laravel-mssql/<h1 id="setup-laravel-to-use-mssql">Setup Laravel to use mssql</h1> <h2 id="install-mssql-driver-for-php">Install mssql driver for php</h2> <p>Driver: <a href="https://websolutionstogo.de/blog/mssql-microsoft-sql-treiber-in-xampp-einbinden/">https://websolutionstogo.de/blog/mssql-microsoft-sql-treiber-in-xampp-einbinden/</a></p> diff --git a/post/2022-12-09-security/index.html b/post/2022-12-09-security/index.html index 888311b..3c3aac3 100644 --- a/post/2022-12-09-security/index.html +++ b/post/2022-12-09-security/index.html @@ -5,7 +5,7 @@ https://github.com/dependabot https://github.com/renovatebot/renovate ">

Lightszentip/Dependabot vs Renovate - build secure and uptodate software artifacts

Created Fri, 09 Dec 2022 00:00:00 +0000 -Modified Sat, 01 Jul 2023 09:47:18 +0000
292 Words

Dependabot vs Renovate - build secure and uptodate software artifacts

Currently it exists two good systems to update software dependencies.

Why I should use that?

To develop a software, can be faster if you use dependencies that develop default functions. So you can use the libs to create the business logic and create a software faster.

But many dependencies need checks in the software cycle:

  • you need update to the latest version or patch version to fix bugs
  • you need update to get a better security, because many updates have security fixes

To reduce the manual effort, this tools help to reduce the effort

DOCS

https://docs.renovatebot.com/

https://docs.github.com/de/code-security/dependabot

Integration

For both solution exists different integrations, as actions, as standlone instance or as gitlab runner.

The Renovate has also a dependency dashboard as issue. So the differents are in the integration. The Dependabot can integrate over settings in github, in gitlab it is necessary to use it as runner - same for renovat in gitlab.

Gitlab integration for Renovate

  1. Fork Runner - https://gitlab.com/renovate-bot/renovate-runner => it easier by forking
  2. Edit the renovate.json and add
  ],
+Modified Sat, 01 Jul 2023 10:07:24 +0000
292 Words

Dependabot vs Renovate - build secure and uptodate software artifacts

Currently it exists two good systems to update software dependencies.

Why I should use that?

To develop a software, can be faster if you use dependencies that develop default functions. So you can use the libs to create the business logic and create a software faster.

But many dependencies need checks in the software cycle:

  • you need update to the latest version or patch version to fix bugs
  • you need update to get a better security, because many updates have security fixes

To reduce the manual effort, this tools help to reduce the effort

DOCS

https://docs.renovatebot.com/

https://docs.github.com/de/code-security/dependabot

Integration

For both solution exists different integrations, as actions, as standlone instance or as gitlab runner.

The Renovate has also a dependency dashboard as issue. So the differents are in the integration. The Dependabot can integrate over settings in github, in gitlab it is necessary to use it as runner - same for renovat in gitlab.

Gitlab integration for Renovate

  1. Fork Runner - https://gitlab.com/renovate-bot/renovate-runner => it easier by forking
  2. Edit the renovate.json and add
  ],
     "extends": [
     "config:base",
     ":preserveSemverRanges",
diff --git a/post/2022-12-11-laravel-sqlite/index.html b/post/2022-12-11-laravel-sqlite/index.html
index 199d197..0df0574 100644
--- a/post/2022-12-11-laravel-sqlite/index.html
+++ b/post/2022-12-11-laravel-sqlite/index.html
@@ -8,7 +8,7 @@
 ">

Lightszentip/Setup Laravel to use sqlite

Created Sun, 11 Dec 2022 00:00:00 +0000 -Modified Sat, 01 Jul 2023 09:47:18 +0000
33 Words

Setup Laravel to use sqlite

Setup .env

Open the .env file and change the following settings:

DB_CONNECTION=sqlite
+Modified Sat, 01 Jul 2023 10:07:24 +0000
33 Words

Setup Laravel to use sqlite

Setup .env

Open the .env file and change the following settings:

DB_CONNECTION=sqlite
 DB_DATABASE=database/database.sqlite
 

and set

SESSION_DRIVER=file
 

to file.

After this run php artisan migrate and php artisan serve

diff --git a/post/2022-12-12-laravel-mssql/index.html b/post/2022-12-12-laravel-mssql/index.html index 734db13..242c4c8 100644 --- a/post/2022-12-12-laravel-mssql/index.html +++ b/post/2022-12-12-laravel-mssql/index.html @@ -8,7 +8,7 @@ ">

Lightszentip/Setup Laravel to use mssql

Created Mon, 12 Dec 2022 00:00:00 +0000 -Modified Sat, 01 Jul 2023 09:47:18 +0000
61 Words
61 Words

Setup Laravel to use mssql

Install mssql driver for php

Driver: https://websolutionstogo.de/blog/mssql-microsoft-sql-treiber-in-xampp-einbinden/

Setup .env

Open the .env file and change the following settings:

DB_CONNECTION=sqlsrv
 DB_HOST=localhost
 #DB_PORT=3306
 DB_DATABASE=LARAVEL_TEST
diff --git a/post/2022-12-13-chatgpt-laravel-spring-boot/index.html b/post/2022-12-13-chatgpt-laravel-spring-boot/index.html
index 142a376..d45d544 100644
--- a/post/2022-12-13-chatgpt-laravel-spring-boot/index.html
+++ b/post/2022-12-13-chatgpt-laravel-spring-boot/index.html
@@ -5,5 +5,5 @@
 ">

Lightszentip/ChatGPT - Laravel vs Spring Boot

Created Mon, 12 Dec 2022 00:00:00 +0000 -Modified Sat, 01 Jul 2023 09:47:18 +0000
270 Words

When use laravel and when use spring boot

Laravel and Spring Boot are two popular web application frameworks that are often compared to each other. Laravel is a PHP framework, while Spring Boot is a Java framework. The choice between the two will depend on a variety of factors, such as the specific requirements of the project, the language that the developers are comfortable with, and the type of application that is being built.

Laravel is known for its elegant syntax and its emphasis on developer productivity. It includes a number of features out of the box, such as a built-in ORM (Object-Relational Mapper) for working with databases, support for unit testing, and tools for implementing common web application features like authentication and caching. Laravel is a good choice for developers who are familiar with PHP and who want to quickly build robust, feature-rich web applications.

Spring Boot, on the other hand, is a part of the larger Spring framework for Java. It is designed to make it easier to develop and deploy Java-based applications by providing a number of pre-configured dependencies and default settings. Spring Boot allows developers to create stand-alone, production-grade applications that are “just run” without the need for complex configurations. It is a good choice for developers who are comfortable with Java and who want to build scalable, enterprise-grade applications.

In general, the choice between Laravel and Spring Boot will depend on the specific needs of the project and the preferences of the development team. Both frameworks have their own strengths and weaknesses, and the right choice will depend on the specific requirements of the application.

+Modified Sat, 01 Jul 2023 10:07:24 +0000
270 Words

When use laravel and when use spring boot

Laravel and Spring Boot are two popular web application frameworks that are often compared to each other. Laravel is a PHP framework, while Spring Boot is a Java framework. The choice between the two will depend on a variety of factors, such as the specific requirements of the project, the language that the developers are comfortable with, and the type of application that is being built.

Laravel is known for its elegant syntax and its emphasis on developer productivity. It includes a number of features out of the box, such as a built-in ORM (Object-Relational Mapper) for working with databases, support for unit testing, and tools for implementing common web application features like authentication and caching. Laravel is a good choice for developers who are familiar with PHP and who want to quickly build robust, feature-rich web applications.

Spring Boot, on the other hand, is a part of the larger Spring framework for Java. It is designed to make it easier to develop and deploy Java-based applications by providing a number of pre-configured dependencies and default settings. Spring Boot allows developers to create stand-alone, production-grade applications that are “just run” without the need for complex configurations. It is a good choice for developers who are comfortable with Java and who want to build scalable, enterprise-grade applications.

In general, the choice between Laravel and Spring Boot will depend on the specific needs of the project and the preferences of the development team. Both frameworks have their own strengths and weaknesses, and the right choice will depend on the specific requirements of the application.

\ No newline at end of file diff --git a/post/2023-07-01-mvc-laravel/index.html b/post/2023-07-01-mvc-laravel/index.html new file mode 100644 index 0000000..371371b --- /dev/null +++ b/post/2023-07-01-mvc-laravel/index.html @@ -0,0 +1,122 @@ + +Implementing MVC Architecture with Repository Pattern in Laravel -

Lightszentip/Implementing MVC Architecture with Repository Pattern in Laravel

Created Sat, 01 Jul 2023 00:00:00 +0000 + +Modified Sat, 01 Jul 2023 10:07:24 +0000
549 Words

Implementing MVC Architecture with Repository Pattern in Laravel

Natürlich! Hier ist eine erweiterte Version des Artikels mit Beispielcode für den Controller und das Repository:

Title: “Implementing MVC Architecture with Repository Pattern in Laravel”

Introduction:

Laravel is a popular PHP framework that enables developers to create web applications quickly and efficiently. One of the key design patterns used in Laravel is the MVC (Model-View-Controller) pattern. When combined with the Repository Pattern, the MVC architecture can enhance code organization and maintainability by separating database access and business logic. In this blog post, we will walk through the step-by-step process of creating a simple Laravel project and implementing the MVC architecture with the Repository Pattern.

Step 1: Creating a Laravel Project and Model

First, we create a new Laravel project using the Composer command:

composer create-project --prefer-dist laravel/laravel example-mvc-app
+

Next, we create a model for our blog articles using the Artisan command:

php artisan make:model Artikel
+

Step 2: Migration and Database Setup

We create a migration to generate the table for our blog articles in the database:

php artisan make:migration create_artikel_table
+

Open the newly created migration file in the database/migrations folder and define the columns for the blog articles table. Then, execute the migration:

php artisan migrate
+

Step 3: Creating Controller and Views

Now, we create a controller to manage actions for our blog articles:

<?php
+
+namespace App\Http\Controllers;
+
+use Illuminate\Http\Request;
+use App\Repositories\ArtikelRepository;
+
+class ArtikelController extends Controller
+{
+    private $artikelRepository;
+
+    public function __construct(ArtikelRepository $artikelRepository)
+    {
+        $this->artikelRepository = $artikelRepository;
+    }
+
+    public function index()
+    {
+        $artikel = $this->artikelRepository->getAll();
+        return view('artikel.index', ['artikel' => $artikel]);
+    }
+
+    public function show($id)
+    {
+        $artikel = $this->artikelRepository->getById($id);
+        return view('artikel.show', ['artikel' => $artikel]);
+    }
+
+    public function create()
+    {
+        return view('artikel.create');
+    }
+
+    public function store(Request $request)
+    {
+        $this->artikelRepository->create($request->all());
+        return redirect()->route('artikel.index');
+    }
+
+    public function edit($id)
+    {
+        $artikel = $this->artikelRepository->getById($id);
+        return view('artikel.edit', ['artikel' => $artikel]);
+    }
+
+    public function update(Request $request, $id)
+    {
+        $this->artikelRepository->update($id, $request->all());
+        return redirect()->route('artikel.index');
+    }
+
+    public function destroy($id)
+    {
+        $this->artikelRepository->delete($id);
+        return redirect()->route('artikel.index');
+    }
+}
+

Step 4: Creating the Repository Class

Next, we create a repository class to handle database queries for our blog articles:

First, we create an interface for our ArtikelRepository to define the contract that our repository class must implement. Create a new file ArtikelRepositoryInterface.php in the app/Repositories folder:

// app/Repositories/ArtikelRepositoryInterface.php
+
+namespace App\Repositories;
+
+interface ArtikelRepositoryInterface
+{
+    public function getAll();
+
+    public function getById($id);
+
+    public function create(array $data);
+
+    public function update($id, array $data);
+
+    public function delete($id);
+}
+
<?php
+
+namespace App\Repositories;
+
+use App\Models\Artikel;
+
+class ArtikelRepository implements ArtikelRepositoryInterface
+{
+    public function getAll()
+    {
+        return Artikel::all();
+    }
+
+    public function getById($id)
+    {
+        return Artikel::find($id);
+    }
+
+    public function create(array $data)
+    {
+        return Artikel::create($data);
+    }
+
+    public function update($id, array $data)
+    {
+        $artikel = Artikel::find($id);
+        $artikel->update($data);
+    }
+
+    public function delete($id)
+    {
+        Artikel::destroy($id);
+    }
+}
+

Step 5: Configuring Dependency Injection

php artisan make:provider RepositoryServiceProvider
+

And add the following code:

public function register() 
+{
+    $this->app->bind(ArtikelRepositoryInterface::class, ArtikelRepository::class);
+}
+

Step 6: Testing the Architecture

Now that our architecture is implemented, we can ensure everything works by testing our application.

For this we can write rules with https://github.com/smortexa/laravel-arkitect.

Conclusion:

By implementing the MVC architecture with the Repository Pattern in Laravel, we maintain a clean and maintainable codebase by separating database access and business logic. This improves code reusability and testability, resulting in an overall better development experience. Laravel provides a flexible environment to implement this architecture, enabling us to build powerful and scalable web applications.

+ \ No newline at end of file diff --git a/post/2023-07-01-pi-log/index.html b/post/2023-07-01-pi-log/index.html index d3ded07..011d5df 100644 --- a/post/2023-07-01-pi-log/index.html +++ b/post/2023-07-01-pi-log/index.html @@ -2,7 +2,7 @@ PI - reduce size of log dir -

Lightszentip/PI - reduce size of log dir

Created Sat, 01 Jul 2023 00:00:00 +0000 -Modified Sat, 01 Jul 2023 09:47:18 +0000
161 Words

How to reduce the size of log dir on pi

To optimize log size and prolong the SD card’s lifespan on your Raspberry Pi, you have several options. The most effective method, ensuring the SD card’s longevity, is by making the following configurations in the /etc/fstab file:

tmpfs /var/log tmpfs defaults,noatime,nosuid,mode=0755,size=25M 0 0
+Modified Sat, 01 Jul 2023 10:07:24 +0000
161 Words

How to reduce the size of log dir on pi

To optimize log size and prolong the SD card’s lifespan on your Raspberry Pi, you have several options. The most effective method, ensuring the SD card’s longevity, is by making the following configurations in the /etc/fstab file:

tmpfs /var/log tmpfs defaults,noatime,nosuid,mode=0755,size=25M 0 0
 

This will keep log files in memory, significantly reducing write operations to the SD card and its storage usage.

However, this can cause certain applications to malfunction, as their folders cannot be created initially, and users lack the necessary permissions to do so.

To address this issue, you can resolve it by opening the file “/usr/lib/tmpfiles.d/var.conf” and adding the specific folders, for instance:

d /var/log/nginx 755 - - -
 

By following these steps, you can effectively optimize log size on your Raspberry Pi while maintaining application functionality.

Another solution is to change “q /var 0755” to 0777 to give all user the permission to create a log dir

\ No newline at end of file diff --git a/post/first_post/index.html b/post/first_post/index.html index 74fb9fa..0ad1688 100644 --- a/post/first_post/index.html +++ b/post/first_post/index.html @@ -5,5 +5,5 @@ ">

Lightszentip/First Post

Created Fri, 10 Jun 2022 18:46:47 +0800 -Modified Sat, 01 Jul 2023 09:47:18 +0000
7 Words

This is a test post

without content

+Modified Sat, 01 Jul 2023 10:07:24 +0000
7 Words

This is a test post

without content

\ No newline at end of file diff --git a/post/index.html b/post/index.html index c3f9a3e..6e00835 100644 --- a/post/index.html +++ b/post/index.html @@ -2,13 +2,14 @@ Posts -
Avatar
😀

Organizations

@gnetos @password-security @rss
  • How to reduce the size of log dir on pi
    Created +7
    • A Example for laravel MVC
      Created +Sat, 01 Jul 2023 00:00:00 +0000
    • How to reduce the size of log dir on pi
      Created Sat, 01 Jul 2023 00:00:00 +0000
    • When use laravel and when use spring boot

      Laravel and Spring Boot are two popular web application frameworks that are often compared to each other. Laravel is a PHP framework, while Spring Boot is a Java framework. The choice between the two will depend on a variety of factors, such as the specific requirements of the project, the language that the developers are comfortable with, and the type of application that is being built.

      Created Mon, 12 Dec 2022 00:00:00 +0000
    • Setup Laravel to use mssql

      Install mssql driver for php

      Driver: https://websolutionstogo.de/blog/mssql-microsoft-sql-treiber-in-xampp-einbinden/

      Setup .env

      Open the .env file and change the following settings:

      Created Mon, 12 Dec 2022 00:00:00 +0000
    • Setup Laravel to use sqlite

      Setup .env

      Open the .env file and change the following settings:

      Created diff --git a/post/index.xml b/post/index.xml index b7d19b7..3ad4829 100644 --- a/post/index.xml +++ b/post/index.xml @@ -1,4 +1,4 @@ -Posts onhttps://lightszentip.github.io/post/Recent content in Posts onHugo -- gohugo.ioen-GBSat, 01 Jul 2023 00:00:00 +0000PI - reduce size of log dirhttps://lightszentip.github.io/post/2023-07-01-pi-log/Sat, 01 Jul 2023 00:00:00 +0000https://lightszentip.github.io/post/2023-07-01-pi-log/How to reduce the size of log dir on piChatGPT - Laravel vs Spring Boothttps://lightszentip.github.io/post/2022-12-13-chatgpt-laravel-spring-boot/Mon, 12 Dec 2022 00:00:00 +0000https://lightszentip.github.io/post/2022-12-13-chatgpt-laravel-spring-boot/<h1 id="when-use-laravel-and-when-use-spring-boot">When use laravel and when use spring boot</h1> +Posts onhttps://lightszentip.github.io/post/Recent content in Posts onHugo -- gohugo.ioen-GBSat, 01 Jul 2023 00:00:00 +0000Implementing MVC Architecture with Repository Pattern in Laravelhttps://lightszentip.github.io/post/2023-07-01-mvc-laravel/Sat, 01 Jul 2023 00:00:00 +0000https://lightszentip.github.io/post/2023-07-01-mvc-laravel/A Example for laravel MVCPI - reduce size of log dirhttps://lightszentip.github.io/post/2023-07-01-pi-log/Sat, 01 Jul 2023 00:00:00 +0000https://lightszentip.github.io/post/2023-07-01-pi-log/How to reduce the size of log dir on piChatGPT - Laravel vs Spring Boothttps://lightszentip.github.io/post/2022-12-13-chatgpt-laravel-spring-boot/Mon, 12 Dec 2022 00:00:00 +0000https://lightszentip.github.io/post/2022-12-13-chatgpt-laravel-spring-boot/<h1 id="when-use-laravel-and-when-use-spring-boot">When use laravel and when use spring boot</h1> <p>Laravel and Spring Boot are two popular web application frameworks that are often compared to each other. Laravel is a PHP framework, while Spring Boot is a Java framework. The choice between the two will depend on a variety of factors, such as the specific requirements of the project, the language that the developers are comfortable with, and the type of application that is being built.</p>Setup Laravel to use mssqlhttps://lightszentip.github.io/post/2022-12-12-laravel-mssql/Mon, 12 Dec 2022 00:00:00 +0000https://lightszentip.github.io/post/2022-12-12-laravel-mssql/<h1 id="setup-laravel-to-use-mssql">Setup Laravel to use mssql</h1> <h2 id="install-mssql-driver-for-php">Install mssql driver for php</h2> <p>Driver: <a href="https://websolutionstogo.de/blog/mssql-microsoft-sql-treiber-in-xampp-einbinden/">https://websolutionstogo.de/blog/mssql-microsoft-sql-treiber-in-xampp-einbinden/</a></p> diff --git a/sitemap.xml b/sitemap.xml index d00b639..66f1c8a 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://lightszentip.github.io/2023-07-01T09:47:18+00:00https://lightszentip.github.io/categories/2023-07-01T09:47:18+00:00https://lightszentip.github.io/categories/pi/2023-07-01T09:47:18+00:00https://lightszentip.github.io/post/2023-07-01-pi-log/2023-07-01T09:47:18+00:00https://lightszentip.github.io/post/2023-07-01T09:47:18+00:00https://lightszentip.github.io/categories/chatgpt/2023-07-01T09:47:18+00:00https://lightszentip.github.io/post/2022-12-13-chatgpt-laravel-spring-boot/2023-07-01T09:47:18+00:00https://lightszentip.github.io/categories/laravel/2023-07-01T09:47:18+00:00https://lightszentip.github.io/post/2022-12-12-laravel-mssql/2023-07-01T09:47:18+00:00https://lightszentip.github.io/post/2022-12-11-laravel-sqlite/2023-07-01T09:47:18+00:00https://lightszentip.github.io/post/2022-12-09-security/2023-07-01T09:47:18+00:00https://lightszentip.github.io/categories/devops/2023-07-01T09:47:18+00:00https://lightszentip.github.io/post/first_post/2023-07-01T09:47:18+00:00https://lightszentip.github.io/tags/ \ No newline at end of file +https://lightszentip.github.io/2023-07-01T10:07:24+00:00https://lightszentip.github.io/categories/2023-07-01T10:07:24+00:00https://lightszentip.github.io/post/2023-07-01-mvc-laravel/2023-07-01T10:07:24+00:00https://lightszentip.github.io/categories/laravel/2023-07-01T10:07:24+00:00https://lightszentip.github.io/categories/pi/2023-07-01T10:07:24+00:00https://lightszentip.github.io/post/2023-07-01-pi-log/2023-07-01T10:07:24+00:00https://lightszentip.github.io/post/2023-07-01T10:07:24+00:00https://lightszentip.github.io/categories/chatgpt/2023-07-01T10:07:24+00:00https://lightszentip.github.io/post/2022-12-13-chatgpt-laravel-spring-boot/2023-07-01T10:07:24+00:00https://lightszentip.github.io/post/2022-12-12-laravel-mssql/2023-07-01T10:07:24+00:00https://lightszentip.github.io/post/2022-12-11-laravel-sqlite/2023-07-01T10:07:24+00:00https://lightszentip.github.io/post/2022-12-09-security/2023-07-01T10:07:24+00:00https://lightszentip.github.io/categories/devops/2023-07-01T10:07:24+00:00https://lightszentip.github.io/post/first_post/2023-07-01T10:07:24+00:00https://lightszentip.github.io/tags/ \ No newline at end of file diff --git a/tags/index.html b/tags/index.html index a67e14a..d0d20b0 100644 --- a/tags/index.html +++ b/tags/index.html @@ -2,13 +2,13 @@ Tags -
      Avatar
      😀

      Organizations

      @gnetos @password-security @rss
      0 +7
      0 results for
        \ No newline at end of file