• Notice: New feature requests and suggestions won't be considered for Chevereto development at this time. Learn more.

Must read Chevereto 4 announcement

Spankeh

Founder license
Joined
Jun 15, 2011
Messages
5
Likes
2
Points
53
#41
Great news. Looking forward to seeing the features of v4
 

Youssef

Network license
Joined
Aug 17, 2017
Messages
66
Likes
4
Points
58
Location
France
#42
hello, @Rodolfo can you tell us a percentage of progress of version 4 or your difficulties (is the plugin system is set up, the default theme will be the same as the version 3, ...) but please tell us a few things because we are customers who have paid
Thank You for your answer.
 

Rodolfo

Chevereto Guru
Staff member
Joined
Oct 7, 2008
Messages
15,766
Likes
3,997
Points
237
Location
Chevereto HQ
Website
rodolfoberrios.com
#43
@Youssef I think that the actual progress is about 25%. At this time I'm re-building the core (formerly known as "G\") with a new router, error handling, controllers, hooks, filters, etc. That's the new stuff that I'm adding to the core and the actual app functionality is already there, I just need to rewrite everything to make it work with this new scheme so is basically like rebuild a house brick by brick with better stuff.

Themes will change completely in 4.X, and 3.X themes will be absolutely incompatible with 4.X. This is because old (current) themes works using PHP + named functions to fetch the data to be displayed. It relies a lot on direct PHP code and since it has tons of unpluggable JS, it is a nightmare to work with 3.X themes.

4.X themes are based on Twig and each "block" will be stored in its own file so you can easily fork a theme and just pay attention to the files that you touched, not the "guess which line" inside a huge theme.php, this approach also allows easy overriding without messing everything. The JS approach in 4.X is way clever as I will ship a base file containing the core javascript stuff and on top of that, you can hook your own JS.
 

Rodolfo

Chevereto Guru
Staff member
Joined
Oct 7, 2008
Messages
15,766
Likes
3,997
Points
237
Location
Chevereto HQ
Website
rodolfoberrios.com
#45
The whole idea of V4 is to don't ever need to ask "can this be made?". The idea is that anyone can create functionality and maybe share that stuff in exchange of money or just to help others.

I'm not into that token stuff, but that doesn't mean that others will share that opinion and that's the idea of V4, to be pluggable by anyone.
 

Youssef

Network license
Joined
Aug 17, 2017
Messages
66
Likes
4
Points
58
Location
France
#47
Release date?

There's no date so far for V4 release as I've to build lots of stuff and I don't have any idea on how long it will take. I will be able to provide a date once I get more into the actual code but take for sure that I'm working 100% on this.
Hello @Rodolfo can we have an approximate date for the release of version 4.

Thank You.
 

Oakley

Network license
Joined
Feb 27, 2017
Messages
264
Likes
60
Points
78
#48
Hello @Rodolfo can we have an approximate date for the release of version 4.
Oh come on, give the guy a break, Rodolfo has already said that it'll be ready when it's ready. Nothing worse than being pestered for a time.
 

alecarmbruster

Network license
Joined
Mar 7, 2018
Messages
2
Likes
0
Points
51
#49
I'm okay with waiting. Hopefully those of us who paid for a network license will be given extra goodies or support with the release of V4.
 

JakeSully

Network license
Joined
Feb 23, 2014
Messages
97
Likes
4
Points
58
#51
Oh come on, give the guy a break, Rodolfo has already said that it'll be ready when it's ready. Nothing worse than being pestered for a time.
Oakley has a point, if Rodolfo has a ETA time he will maybe feel stressed and the v4 may end up being bugged and have lots of issues. So yeah, let Rodolfo have his time and let him make v4 as stable has possible before he releases it. We don't want a un-stable v4 when it comes out.
 

ashkir

Core license
Staff member
Joined
Feb 14, 2016
Messages
321
Likes
134
Points
125
#52
I'm definitely on board waiting for v4! A real working plugin system means I can hire a developer to develop features that others don't want!
 

Vahid

Network license
Joined
Sep 13, 2014
Messages
8
Likes
0
Points
51
#53
Hi @Rodolfo

i have 2 quastion:

1. current network licence must have new payment to use V4? and yes, whats that upgrade price for current customers?

2. is there a automatically way to upgrade current V3 websites to V4?
 

Rodolfo

Chevereto Guru
Staff member
Joined
Oct 7, 2008
Messages
15,766
Likes
3,997
Points
237
Location
Chevereto HQ
Website
rodolfoberrios.com
#54
1. current network licence must have new payment to use V4? and yes, whats that upgrade price for current customers
For current customers the price will be near $30 and it will include a bunch of paid plugins. Basically, you pay to migrate your purchase into the new system which is plugin based + free base edition.

Plugins combined will be more expensive than the current pricing, but is more flexible because you only pay for what you need.

2. is there a automatically way to upgrade current V3 websites to V4?
If automatic means that it will be made on its own then no. Upgrade needs someone clicking the "update" button.
 

Rodolfo

Chevereto Guru
Staff member
Joined
Oct 7, 2008
Messages
15,766
Likes
3,997
Points
237
Location
Chevereto HQ
Website
rodolfoberrios.com
#55
Hey everybody, I will like to spare a few minutes to give you a status update of the ongoing development.

Chevereto\Core
At this time I'm working on the new core which is the thing that bootstrap everything and handles several elements on the system like initiation, routing, error handling, cache, DB, etc. The previous core (G\) lacked of several tools and it was basically a set of functions + basic definitions, the new core (Chevereto\Core) is way more smarter and complete, but it keeps the premise of G\: Faster development, smallest footprint.

The new core is not only about making "the" Chevereto core, it is about build any kind of website with it and I will use it to build the new chevereto.com website, the plugin store, API, etc. It is the most important asset of Chevereto.

Router
Previously, routes used anonymous functions inside a route.php file. The new thing is totally different and the syntax is very similar to Laravel's routing:

1521135419995.png
Please note that I made my own PseudoStatic class rather than just copy what Laravel does. That Static::method()->method() call is provided by a clever use of __call and the visibility scope.

The new router takes static+dynamic routing which allow easier development of sub-routes. It supports lambdas (anonymous functions) and named controllers (plugin controllers or app controllers). It also uses a combined method to resolve a request so you don't have to worry on how many routes you can bind or how complex will be the regular expression, the thing will do it very fast indeed.

Don't mind about cache either, the Router cache works on the fly and you don't need to touch anything. Plain and pure file based cache and it handles anonymous function code directly. I tried to avoid any unnecessary processing here so the cache stores compatible PHP code, meaning that the thing doesn't need to interpreter anything. Just require the cache and done.

Error handling
A big issue of Chevereto is its poor error handling that basically depends a lot on the default system settings. The new core adds both error and exception handlers by default and error logging is directly handled by the core. By doing this, we won't miss a error anymore regardless of your hosting settings on error reporting level.

Error handling looks better and of course, it is responsive:

1521136339103.png

Errors are unified (works globally for errors and exceptions), provide way more context and you can select all that text as plain text (easy to share):

Code:
Fatal error in /GIT/V4/vendor/Chevereto/Core/bootstrap.php:12

Message
Hey there, I'm fatal!

Error ID
5aaab23b8a395

Time
2018-03-15T14:49:47-03:00 (1521136187)

Client
172.18.0.1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36

Request
HTTP/1.1 GET https://192.168.0.11/V4/

$_REQUEST
--------------------------------------------------------
array (size=2)
CHV_COOKIE_LAW_DISPLAY => string 0 (length=1)
PHPSESSID => string beaf8b78bc56b0777e43f2c0f32ece57 (length=32)
--------------------------------------------------------

Server
192.168.0.11 (port:80) Apache/2.4.29 (Unix)
All that is made with the idea of making error handling something pleasant to work with. Of course that on production you won't disclose anything:

1521136506851.png

Controllers and Hooks
The old routes are being changed to controllers and hooks provide a way to define code insertion for plugins and everything else. The syntax is not mature yet to show you something, but is not hard to understand at all. Basically, the system will pass the objects by reference so privacy scope and absolutely everything works just like editing the controller directly.

Function groups
Base functions are now provided as "base.php" which includes all the base function tool set, extra functions will be added like "image.php" for custom image functions and so on. This makes easier to handle the system functions and to require (load) only what you need.

Well, hope you like the update.
Cheers!
 

mooticus

New Member
Joined
Feb 7, 2018
Messages
3
Likes
0
Points
1
#56
You might want to change your website, under "Lifetime deal" you say that Chevereto 4 is not under development. It clearly is.
 

Rodolfo

Chevereto Guru
Staff member
Joined
Oct 7, 2008
Messages
15,766
Likes
3,997
Points
237
Location
Chevereto HQ
Website
rodolfoberrios.com
#57
You might want to change your website, under "Lifetime deal" you say that Chevereto 4 is not under development. It clearly is.
Technically speaking, the core is under development, not V4.
 

Rodolfo

Chevereto Guru
Staff member
Joined
Oct 7, 2008
Messages
15,766
Likes
3,997
Points
237
Location
Chevereto HQ
Website
rodolfoberrios.com
#58
Long time no updates, what about some porn?

1522785395589.png

Chevereto\Core "Hello world!" is 200% faster compared to Lumen. That and for many other reasons is why I build my own framework.

Cheers,
Rodolfo.
 
Last edited:

Oakley

Network license
Joined
Feb 27, 2017
Messages
264
Likes
60
Points
78
#60
Huh.... sub-ruta.php ...... habla ingles por favor ! :D:D lol

Looking good ! ;)