L
L
la02011-12-14 23:29:13
CMS
la0, 2011-12-14 23:29:13

"semi-framework" for query building and validation?

Hello public!
First, a little history: it so historically happened that the project uses CMF with a bastard api.
It so happened that it is difficult to change this technology at the moment (for dependencies, lock-in), and the stage of rapid growth of the functionality has begun.
In principle, the project has normal code for the most part, unkilled logic and almost direct MVC, it has its own bicycles for the subject (which were done in a hurry), but in the process of finishing the bicycles, there is a feeling that someone before us has already written something like this and, most importantly, tested ...
So to the point.
Ideally, we set the table structure (+ types, mandatory, defaults and other goodies) [eg. hardcode], multiple fields, types, relationships and maybe something else. And based on this data, the tool at least checks the data for us and, as a maximum, generates requests when passing parameters to the tool.
I emphasize that tearing away from a full-fledged framework is not yet a solution (I’m not even considering it), and the rejection of such things is doubtful.
I hope for help or / and the right kick.
Technologies, as I hope, it is clear from what was written, php, [my|postgre]sql…
// As usual, I don’t sting on karma))

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
shagguboy, 2011-12-15
@shagguboy

symfony 2 is a set of such cubes. you can tear out forms with validation and doctrine from there.

S
sdevalex, 2011-12-14
@sdevalex

I really wanted to offer ActiveRecord from Yii, but you are strongly against it =) I propose for requests this is redbeanphp.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question