DEV Community

Cover image for The Next Generation PHP Framework: CandyPHP
emre.red
emre.red

Posted on

The Next Generation PHP Framework: CandyPHP

Nowadays php is like an aging person but frameworks keeps it alive. Today i'm going to tell you about this new generation PHP Framework.

What you can do with this framework?

πŸ“… Ability to Set Scheduled Tasks

I guess there is no framework where you can't use CronJobs, but in CandyPHP you can set CronJobs without any presetting.

πŸ—ƒοΈ Multiple Database Connections and Simple, Cachable SQL Operations

With CandyPHP, you can easily operate on many databases at the same time. With database caching you can use similar queries from cache without forwarding them to mysql. This is more useful than you think because CandyPHP updates the cache whenever there is a change in the database.

πŸ—„οΈ Automatic Daily Web and SQL Backups (& autoclear)

You can set Candyphp to take daily web and sql backups.
Isn't it going to take up a lot of space on your system to make backups every day..? Of course no.

  • Backups of all days in the last week are kept.
  • Backups of the first day of each week in the last 1 month are kept.
  • A backup is kept for the first day of each month in the last 1 year.
  • In older backups, the backup of the first day of each year is kept.

🌐 Multi-Language Web Pages

Again a feature in many frameworks.
But candyphp automatically loads language files according to your visitor.

πŸ’¨ Automatic AJAX Forms and Pages

CandyPHP uses skeletal structure for view designs. thus allowing you to easily upload content with ajax.
Let me give an example;

candy.loader('a.loader',{content:"#content"});
When you add this code to your javascript, your content will be loaded with ajax when clicking on links with .loader class. It really is that simple.

βœ‰οΈ Sending Mail With Blade Design

It allows you to design with the candyphp blade. Moreover, you can create blade designs for mail. so you can easily design and manage your mail content with your php variables.
Goodbye text mail templates...

βš™οΈ Ability to Use Composer Packages

Composer is not required to use CandyPHP. It is more than enough to just throw the source files to your server. but you can easily integrate composer if you want.

🀞 Writing Async Functions

PHP can sometimes really restrict developers. Writing asynchronous functions with CandyPHP is as easy as below. moreover, you don't need to make any presets.
Candy::async(function(){ /* code */ });

πŸ•˜ Ability to Run a Past Version of the Site

You can run a past version of your website you want only for yourself.
For this, system backups must be turned on.

πŸ”₯ And more...

CandyPHP has a simpler and more useful structure than other frameworks. It has many more unique features.

If you are interested in CandyPHP, you can check it from the links below.

https://github.com/CandyPack/CandyPHP

Top comments (0)