pierrelemee / bitmap Goto Github PK
View Code? Open in Web Editor NEWA simple but still easily customizable data mapper for PHP
A simple but still easily customizable data mapper for PHP
Create delete()
method to Entity
class, with associated query in Mapper
Add unit tests on mapper creation, whether it's annotation based on object oriented
Create mapper from YAML file
When a user queries objects using a raw SQL query, define a strategy that can be able to analyze the query and create the associated mapping
Allow bitmap to cache all / some of the mappers to avoid the long mapper discovery on each request
Allow the user to create a mapper from an array with a specific template.
Plus validation to ensure array is properly formed
Support many-to-many association in the Mapper
class.
This would allow users to declare an attribute in their model classes being a list of Entity
objects and for which there's a many to many association (e.g. for which a relationship table between both source tables has been declared)
Support one-to-one association in the Mapper
class.
Allow users to explicitly set inclusion for embedded Entity
attribute in queries.
This will require the mapper to prefix all fields with their table names
Support one-to-many association in the Mapper
class.
Allow users to embed a list of Entity
in one of their model classes attribute.
Among features uncovered by unit test:
Entity::findOne
with incorrect SQL queryEntity::find
with incorrect SQL querySupport update queries in the save()
method.
Requires to support primary key to be able to identify object from the table database in the where
clause.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.