Download the PHP package designbymalina/datatables-app without Composer

On this page you can find all versions of the php package designbymalina/datatables-app. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package datatables-app

DbM DataTables PHP

Wszystkie prawa autorskie zastrzeżone przez Design by Malina (DbM)

Wprowadzenie

Ta biblioteka rozszerza możliwości generowania tabel z paginacją i AJAX w aplikacjach PHP. Obsługuje dwa tryby:

Pozwala to na elastyczne i wydajne zarządzanie dużymi zestawami danych.


Instrukcja uruchomienia - demo

Import bazy demo

W katalogu _Documents/Database znajduje się gotowy plik SQL.
Zaimportuj go do swojej instancji MySQL/MariaDB:

Konfiguracja adaptera

W katalogu src/Datatable znajduje się plik DatabaseAdapter.php.
Adapter mapuje App\Core\Interfaces\DatabaseInterface na interfejs biblioteki DataTables.

W katalogu src/Core/Classes znajduje się klasa Database, która implementuje interfejs DatabaseInterface i odpowiada za konfigurację bazy (DSN, użytkownik, hasło).

Upewnij się, że Twoja klasa AppDb jest poprawnie skonfigurowana (połączenie z bazą).

Konfiguracja DataTable

W katalogu src/Datatable znajduje się plik BlogConfigDataTable.php.
To on definiuje źródło danych (tabela dbm_article) oraz mapowania kolumn.

Wszystkie ustawienia potrzebne do działania DataTables PHP znajdują się w pliku ConfigDataTable.

Uruchomienie w aplikacji (przykład z kontrolerem)

W przykładowej aplikacji DataTables można osadzić w kontrolerze.
W katalogu src/Controller znajduje się DemoController, którego metoda run() przygotowuje dane dla widoku.

index.php:

DemoController.php - Metoda uruchomienia DataTables PHP w zewnętrznej aplikacji

Dzięki temu logika (pobranie danych, paginacja, filtrowanie) jest w kontrolerze, a renderowanie w pliku aplikacji i szablonie.

Podgląd Datatables PHP

Więcej szczegółów znajduje się pod adresem: README

Kompletny przykład integracji DataTables w PHP z funkcjonalnościami CRUD (Create, Read, Update, Delete). Projekt pokazuje jak zbudować dynamiczną tabelę danych, która obsługuje filtrowanie, sortowanie, paginację oraz dodawanie, edycję i usuwanie rekordów. Praktyczny przykład użycia DataTables jako narzędzia do CRUD w aplikacjach webowych.

Wystarczy tylko skonfigurować bibliotekę, a cała obsługa danych dzieje się automatycznie.


All versions of datatables-app with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
phpoffice/phpspreadsheet Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package designbymalina/datatables-app contains the following files

Loading the files please wait ...