Cake3 Blog Resource, is a resource to help people starting with Cake3.
Actually, I have developed this blog to try Cake3 and for my needs (personal blog), and I have decided to release it to help people with Cake3, so there is probably some custom configurations/functions that only fit my needs.
It is not recommended to do a website with Cake3 until the first stable Cake3 version will be released.
If you need to install to try a function or any other things, just follow the steps bellow.
- ๐ฆ Composer
- ๐ฆ All requirements for CakePHP : list here
- ๐ฆ PHP cURL extension (Needed only if you want to use the Google Analytics system in Dashboard)
- ๐ฆ Supported DBMS : MySQL & SQLite
Steps to install :
- Setup a new database on your server
- Run :
composer create-project --dev xety/xeta <application_name>
- Import the file
config/Schema/xeta.sql
in your database. - Congratulations ! The application is ready to use. ๐
If you want to install the Google Analytics (not required), please follow the tutorial in the wiki : https://github.com/Xety/Xeta/wiki
- Admin account
- User : Admin | Pass :
administrator
- User : Admin | Pass :
- Member account
- User : Test | Pass :
testaccount
- User : Test | Pass :
Since I have decided to release it, I'm trying to use the maximum of Cake3's features :
- Timestamp
- Used to allow Cake to modify the fields
created
andmodified
automatically
- Used to allow Cake to modify the fields
- CounterCache
- To build counter automatically
- Comments count
- Likes count
- To build counter automatically
- Custom Behavior :
- UploadBehavior (Migrated into a plugin : Cake3-Upload)
- To upload safely an avatar for user
- Sluggable Behavior (Migrated into a plugin : Cake3-Sluggable)
- Used to build slug when creating an user and creating an article
- UploadBehavior (Migrated into a plugin : Cake3-Upload)
- Pagination
- To build custom pagination request for the list of articles, users etc
- Sessions
- To store user's information
- Authentication
- For login/logout an user
- To authorize an user to access in the Administration Panel
- Flash
- With custom message : Error, Success, Info, Primary
- Cross Site Request Forgery (CSRF)
- To provide the max security
- Request Handling
- To render json views (Used with AJAX request/response)
- Url
- To build URLs for AJAX request. (Like system)
- Form
- Html
- Number
- To build beautiful number for comments/likes count.
- Paginator
- To build beautiful pagination
- Session
- To access to the user Session information
- Flash
- To render some flash message
- Text
- To truncate some text
- Time
- To build a new date time when an user try to login
- Email
- In the Contact page
- Folder & File
- With the UploadBehavior
- Inflector
- With the SluggableBehavior
- Internationalization & Localization
- Router
- To build custom routes names
- Prefix (admin)
- Cache
- To cache all Google Analytics requests in the Administration Panel
- Validation & Validator
- Custom Validator
- UploadValidator
- PurifierValidator
- Validator for the Contact Page (With an ArrayContext)
- Custom Validator
- View Cell
- Blog sidebar
- Events System
- Badge system
- Badge on comment
- Badge for register date
- Badge system
- Authenticate
- Cookies (Migrated into a plugin : Cake3-CookieAuth)
- For auto-login
- Cookies (Migrated into a plugin : Cake3-CookieAuth)
If you want to contribute to the project by adding new features or just fix a bug, feel free to do a PR.
Follow this guide to contribute
- Antograssiot (Cake Team Member) For all his help !