RepositoryPHPUSHoa Kỳ
JA

jamierumbelow/codeigniter-base-model

⛔️DEPRECATED CodeIgniter base CRUD model to remove repetition and increase productivity

1.0ksao
470fork
73issue
4lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: archived

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: deprecated

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: obsolete

#1 Repository của tháng

🛑 Dự án đã ngưng bảo trì — CodeIgniter Base Model

Một thư viện MY_Model mở rộng giúp xây dựng model nhanh trong CodeIgniter, nhưng hiện đã không còn được duy trì.

codeigniter-base-model là một lớp MY_Model mở rộng từ CI_Model trong CodeIgniter. Nó cung cấp một nền tảng CRUD (Create, Read, Update, Delete) để xử lý tương tác với cơ sở dữ liệu một cách nhanh chóng và nhất quán. Ngoài ra, dự án còn hỗ trợ hệ thống observer dựa trên sự kiện, xác thực dữ liệu trong model, dự đoán tên bảng thông minh và chức năng xóa mềm (soft delete).

Tuy nhiên, dự án đã được đánh dấu là ngưng bảo trì vì tác giả không còn sử dụng CodeIgniter. Nếu ai muốn tiếp tục duy trì, có thể liên hệ trực tiếp.

✨ Điểm nổi bật

  • CRUD cơ bản: Hỗ trợ các phương thức get, get_by, insert, update, delete và các biến thể như get_all, get_many_by.
  • Dự đoán tên bảng: Tự động ánh xạ tên lớp sang tên bảng (ví dụ: Post_model → posts).
  • Observer/callback: Hệ thống gọi lại trước/sau create, update, get, delete để xử lý logic tùy chỉnh.
  • Xác thực trong model: Sử dụng quy tắc validation của CodeIgniter để kiểm tra dữ liệu trước khi ghi.
  • Xóa mềm: Hỗ trợ đánh dấu bản ghi là đã xóa thay vì xóa vĩnh viễn.
  • Thuộc tính bảo vệ: Ngăn chặn cập nhật ngẫu nhiên các trường nhạy cảm như ID.
  • Tùy chỉnh khóa chính: Cho phép đặt lại tên cột khóa chính nếu không phải là id.

💡 Vì sao đáng chú ý

Dù dự án đã ngưng phát triển, CodeIgniter Base Model từng là một công cụ rất hữu ích cho các dự án CodeIgniter trước đây, giúp giảm đáng kể lượng code lặp lại khi làm việc với cơ sở dữ liệu. Nó mang lại một cách tiếp cận có hệ thống và có cấu trúc cho việc quản lý model, đặc biệt phù hợp với các ứng dụng nhỏ và trung gian sử dụng CodeIgniter.

Hiện nay, do sự ngưng bảo trì và sự chuyển dịch của cộng đồng sang các framework hiện đại hơn, dự án không còn phù hợp để áp dụng vào dự án mới.


#CodeIgniter #PHP #Deprecated #Archived #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPHP
furey/tinx

⛔️ Laravel Tinx is archived and no longer maintained.

442
Dec 14, 2019
RepositorySwift
aaronabentheuer/AAWindow

[Deprecated] · UIWindow subclass to enable behavior like adaptive round-corners & detecting when Control Center is opened.

473
May 7, 2018
RepositoryC
Rohde-Schwarz/TrustedGRUB2

DEPRECATED TPM enabled GRUB2 Bootloader

193
Sep 28, 2021
RepositoryPHP
jamierumbelow/codeigniter-base-controller

⛔️DEPRECATED CodeIgniter base controller with view autoloading and layout support

110
Apr 4, 2018
RepositoryJavaScript
markitondemand/DEPRECATED-DataApis

Markit On Demand - Market Data APIs

176
May 17, 2017
RepositoryObjective-C
charlymr/IRLDocumentScanner

⛔️ DEPRECATED - A drop-in Objective-C ViewController that will Automatically scan a document for you you.

175
Nov 7, 2021
RepositoryObjective-C
Adobe-Marketing-Cloud/mobile-services

⛔️ Deprecated ⛔️ These SDKs are no longer supported by Adobe. Please see Adobe Experience Platform Mobile SDKs for current and supported versions.

170
Oct 14, 2022
RepositoryC#
proletariatgames/CUDLR

⛔️ [DEPRECATED] Console for Unity Debugging and Logging Remotely

166
Feb 28, 2018
Repository
sphero-inc/Sphero-Android-SDK

🚫 DEPRECATED REPO: Sphero™ is the amazing robotic ball ( gosphero.com ), this is the repository for the Android SDK for Sphero™. Visit dev site for more information:

159
Oct 15, 2019