cotonti.com : Cotonti Class Library https://www.cotonti.com Son konu mesajları Cotonti en Mon, 01 Dec 2025 17:31:16 -0000 GHengeveld For custom module development which uses its own database tables, SimpleORM really makes things easy for you. It basically gives you a CRUD framework so it becomes much easier to store things in the database.

On my wishlist for SimpleORM is automatic parsing of JSON and XML responses, much like Ruby on Rails.

]]>
Cum, 02 Mar 2012 18:02:36 -0000
Trustmaster CCL is pretty outdated by now. It's worth a decent rewrite, considering recent Gert's efforts with SimpleORM, changes in Siena and best ideas from other frameworks, still keeping it minimalistic.

There hasn't been much interest in it and I didn't have projects large enough to motivate me into rewriting it. But it'd be an interesting challenge.

]]>
Cum, 02 Mar 2012 17:33:04 -0000
Macik It's quite interesting theme for me, so I fresh up topic.

As a plugin developer I offen get in the same situation. For my needs I made module «MyLibs» as a dump shell for common tasks. I'd enchance it with addition functionality by adding new files to this module like:

mylibs.email.php
mylibs.files.php
mylibs.json.php
mylibs.UTF8.php
mylibs.table.php

And just make a simple call for certain submodule:

require_once cot_incfile('mylibs', 'module','files');

 

So, is there any CCL related news?

 

 

]]>
Cum, 02 Mar 2012 16:36:22 -0000
tensh ]]> Cmt, 11 Tem 2009 20:00:05 -0000 Lombi Cum, 10 Tem 2009 19:14:09 -0000 tensh Also, will it completely overwrite the old plugins system?]]> Cum, 10 Tem 2009 19:10:18 -0000 Trustmaster Cum, 10 Tem 2009 01:23:09 -0000 GHengeveld Cum, 10 Tem 2009 00:55:03 -0000 SunChase Cum, 10 Tem 2009 00:19:45 -0000 Trustmaster Cum, 10 Tem 2009 00:13:15 -0000 SunChase
Hm.I think that this is a great idea]]>
Cum, 10 Tem 2009 00:01:43 -0000
Trustmaster
I did not go so far as Groovy/Rails/Symfony developers and just started automating common things instead of reinventing the way the engine works. On the Model side you still need SQL schema scripts which is followed by dynamic PHP structure (an SQL parser would help to avoid the PHP code generation though). On the View end it's XTemplate and nothing else. So CCL is mostly Controller logic on its own.

What CCL is designed for is to develop modules/plugins easier by inheriting common features/behavior from common classes. The closer to default behavior is, the smaller the code is (in some cases it may be just 1 line). All you need to do is to describe data structure and overload domain units for your application.

Currently CCL is very incomplete draft implementation, although I have completed quite a big project with it. You can download ccl-0.0.1. The package contains the class library, code reference and a very simple example plugin called "golb". It has loads of bugs (because originally it was used in a different environment and was not designed for use in plugins) but I hope it gives you an idea what CCL is.

What I want to know is if there is enough interest for such a library. It's a big thing which I hardly can do alone.]]>
Per, 09 Tem 2009 23:24:13 -0000