Hello everyone,
first of all, I really like phalcon so far, I think the thing which mostly makes it less popular then for example Laravel is the Documentation, which makes it very hard for beginners to get into it.
One example, I wanted to implement a simple Uniqueness validator into one of my models, and I took exactly the example from the documentation (due to it fits my model) but I am getting an error:
https://docs.phalcon.io/en/3.0.1/api/Phalcon_Mvc_Model_Validator_Uniqueness.html
Uncaught TypeError: Argument 1 passed to Phalcon\Mvc\Model::validate() must implement interface Phalcon\ValidationInterface, instance of >Phalcon\Mvc\Model\Validator\Uniqueness given in
That really should not happen.
The whole validation combined with the inaccurate documentation is very confusing. I have read that one Validator class applies to model and the other one to for example forms. But maybe thats outdated to? who knows?
Just to get some feedback on another topic out: the forum
The editor starts to lag already after a short passage like that one. When using it on my 9:16 Full HD Display (a turned 16:9, should be rather common among developers, there is simply no submit button to start a discussion. Furthermore the layout in editior is not even close to what it will look like later.
Best Regards, Ludwig