Comments (6)
is there any wiki or docs that we can collaborate . i think is ipperative to mention in case of using database it must have a session table that can minphp store sessions , a chemaforthis
CREATE TABLE sessions
(
id
varchar(64) COLLATE utf8_unicode_ci NOT NULL,
expire
datetime NOT NULL,
value
text COLLATE utf8_unicode_ci,
PRIMARY KEY (id
),
KEY expire
(expire
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
from minphp.
The SQL is actually available in /components/session/session.sql. However, minphp is going through a major refactor for version 1.0, as well as 2.0, so changes are coming!
from minphp.
can i imagine namespace will be sued in next major release ?
from minphp.
also , the next major release need our own code to be changed also ? i'm working now all my project with minphp . so have you any idea tips to make my code easy or compatible with next releases ?
from minphp.
The next version of minphp (1.0.0) will use namespaces, but will be 100% backwards compatible with the current version (0.x). We're able to do that by bridging classes from the global namespace to specific namespaces.
So you won't need to make any changes, but there will be some functionality deprecated in 1.0.0, that will be removed in 2.0.0, since 2.0.0 won't have any classes in the global namespace.
from minphp.
so have you any idea tips to make my code easy or compatible with next releases ?
Just use PSR-2 formatting ;)
from minphp.
Related Issues (20)
- Increase code coverage of Input component
- Increase code coverage of Record component
- Increase code coverage of ACL component
- Increase code coverage of Session component
- Increase code coverage of Core
- Add composer support
- Namespaceify Core HOT 3
- Turn Helpers into individual libs
- Turn Components into individual libs
- Add coveralls
- Style with bootstrap
- eroor message are showing HTML tags HOT 1
- Record::buildFields() returns prematurely
- Increase requirement to PHP 5.4 HOT 2
- .gitattributes
- Remove jenkins build artifacts
- vendor\autoload.php not exist HOT 9
- Twig framework for templates HOT 2
- how to use the new minphp 1.0.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minphp.