Stephane, i commit my global area path many time ago(but this commit
was forgotten), in 2.0 version this patch is BC and save caching
system, so i think it can be included to new version of diem.
> - replacing the front components for user signin, login/logout and
> registering with one component
> - being able to have the user interface in one language while having the
> content in another language (usefull for translators), this would be
> optional
> - paginating the Page toolbar when there is a lot of pages (showing a
> ...), and why not adding a module for managing pages (merging this toolbar +
> the reorganize action
> - paginating the *-to-many when there are too many items to show in an
> admin module + auto completion using jquery
> - moving to latest jquery version
> - making the filter form to be resizable (or make it auto using css ?)
> - adding the "type" to filter forms for master class (managing
> inheritance)
>
> I forgot to mention some things I've done too :
>
> - the generated forms are now fine with inheritance, adding a "type"
> showing all the subtypes for the master class, plus generating good widgets
> for sub forms, and generating good widgets too on the master class (so
> master class have no more Interger widget when it is a column created by a
> subform, this is managed by recoding the getColumns and adding it two
> options parameters to include or not subclasses columns and relations)
>
> I NEED HELP =)
>
> Regards,
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
>
>
> On Sat, Jan 8, 2011 at 6:25 PM, Stéphane <
stephane.er...@gmail.com> wrote:
> > Hello Community,
>
> > I here will take some time to explain you what has been done for now on the
> > 5.4 branch.
>
> > - Diem Doctrine Admin module generator :
>
> > 1. Adding a buildObjectQuery() in the dmAdminBaseGeneratedActions, so
> > you can fine tune the building of the query to retrieve an object.
> > 1. This method will $table->joinAll($query) with I18n if any.
> > This improves the db querying with fewer queries.
> > 2. You can overload this method within your actions !
> > 3. This is only used by the edit action, not the list action
> > (which uses the buildQuery() method)
> > 2. modified the getObject() method so if no 'pk' is found in the
> > request, it will search for 'id' instead (using $table->getIdentifier())
> > 1. Usefull when you create new actions and add them in
> > object_actions or actions in generator.yml
> > 3. Within lists and edit actions, the links to actions are shown
> > according to user credentials (action, mixed and record are managed)
>
> > - Diem Doctrine Form generator :
>
> > 1. Better handling of relations of type One To Many and One To One
> > within templates
>
> > - Diem Doctrine Form :
>
> > 1. Adding a way to specify the order of saving of embedded forms by
> > using the $form->*setEmbeddedFormSavingTime() *This is really
> > usefull when you embed a form representing a Doctrine_Relation_ForeignKey,
> > which has to be saved BEFORE the form's object.
> > So you can specify if an embedded form has to be saved BEFORE or
> > AFTER the record, so you'll not get an integrity constraint violation (as
> > the embedded form's record will get saved after the record)
>
> > - Diem Doctrine Admin module security strategies :
>
> > 1. There are three strategies for securing Module-Actions :
> > 1. action : the symfony way, nothing new, except it has been
> > strategified so all security strategies are working the same way
> > 2. record : secure a module-action for a given record. The user
> > must be associated to the corresponding DmRecordPermission
> > 3. mixed : a mix of action and record (usefull for listing, or
> > avoiding the querying if user do not have the necessary dmPermission at
> > first)
> > 1. Personnaly, if I want to secure a MA using record, I'll use
> > mixed instead (so mechanism will check for user credentials before querying
> > db)
> > 2.
>
> > - Diem Doctrine Loremizer :
>
> > 1. Adding the "double" doctrine type
>
> > - Diem Doctrine Query DQL Tokenizer :
>
> > 1. I'm using this extension
> >
https://github.com/ebihara/php-dql-tokenizer<
https://github.com/diem-project/diem/commit/b2223d06ea0b9f831bad91df1...>
> > 2. So I made dmDoctrineQuery aware of this using a condition (see
> > here
> >
https://github.com/diem-project/diem/commit/b2223d06ea0b9f831bad91df1...
>
> > - CSS modifications :
>
> > 1. Adding a z-index to the class of the resize handler for markdown
> > editor, so it will not get over the menus
> > 2. Setting the max-height to 700px for the menus (I have big menus
> > and I don't want them to be scrolled), what do you think ?
>
> > - Docblocks here and there for better IDE auto completion
> > - Diem tasks:
>
> > 1. dm:setup modified
> > 1. There is a new option --load-doctrine-data which will add this
> > option to the dm:data task call
> > 1. It will load doctrine data fixtures
> > 2. There is a new option --clear-tables which will drop all the
> > tables of the db, instead of dropping the db itself. This is explained in
> > its own task description following.
> > 2. new DmPermission generator task dm:generate-permissions-fixtures
> > (didn't find something longer -_-)
> > 1. It will parse all the modules.yml files and search for
> > credentials:, and generate fixture files for these permissions.
> > 2. I plan to create classes for these too (which will make it
> > faster at loading)
> > 3. dm:data modified:
> > 1. There is a new option --load-doctrine-data that will call
> > doctrine:data-load
> > 2. This is used by dm:setup too
> > 4. new dm:drop-tables task :
> > 1. I have my db loaded within a tmpfs (ramdisk), so I can drop my
> > database because mysql will delete the directory, thus deleting the symlink,
> > and recreate it, thus the database will no more be in my tmpfs. That's why I
> > need a drop tables instead of a drop db.
>
> > - Admin menus shows only user-accessible menus using defined
> > credentials or global module credentials
> > - Diem Admin module generator is now I18n catalogue "aware" :
> >
https://github.com/diem-project/diem/commit/dba156e1b3cdbf165d4645c2b...
> > - You can specify the catalogue to use in the modules.yml using
> > i18n_catalogue, and all the templates generated in cache/ will use this
> > catalogue instead of the dm or messages catalogues.
> > - Modified the dmAdminModelGeneratorHelper->getI18nCatalogue() to
> > fallback to 'dm' if none specified in modules.yml
>
> > My future plans :
>
> > 1. XHProf embedding : Diem already embed APC pages, so I thought
> > embedding XHProf would be great too ! As soon as the XHProf module is
> > enabled, it will get embedded, and you'll be able to get a link to the "run"
> > to see the profiling of the run (check XHProf documentation for this)
> > 2. Creating a dmDev: task namespace with some great tasks like