Which plugin I should use for db migration for hibernate4? - database

I am using grails2.3.7 and hibernate4.
However, the default database-migration plugin is not working with hibernate4.
Is there any other plugin that can do the same thing but support hibernate4?
Thanks.

Depending on what functionality you can do without, you may be able to use straight Liquibase in your project. It is fairly simple to setup. You could use the manual or a presentation I gave to get yourself started.
You can always look at the source of the database-migration plugin to give you clues about how to set it up if you get stuck.

The plugin is updated to support hibernate4 now.
database-migration

Related

Datatable Plugin for CakePHP 4

I have been upgrading my application from cakephp 3 to cakephp 4. I was using fheider/cakephp-datatables and I have come across ypnos-web/cakephp-datatables where both support cakephp 3.
I am currently looking for a cakephp-datatable plugin which supports cakephp 4.
If anybody has an idea, I would be happy.
Thanks in Advance.
Isn't the built-in pagination is what you are looking for ? you can do advanced dynamic database links with your HTML tables.
I successfully use ypnos-web/cakephp-datatables on CakePHP 4.2.7. It works very well for me.
You might have to play around a bit to get it working correctly. Read some of the issues (open and closed) on the ypnos-web/cakephp-datatables github repository and you can likely get it working.
Good Luck!

Alternative for Workbench

Hope everyone will know, In recent days Workbench website is not functioning well and it's provide Application Error during SOQL Execution or any other operation.
So May I know, Is there any other alternative website is available for Workbench?
I know, we can use Developer Console OR Report inside the Salesforce OR SFDX Query Editor are able to use for alternative, But I like to know is there any website available to do that?
Thanks.
Use chrome extension Salesforce Inspector.

is there a way to add patch version in CN1 version number

To my knowledge CN1 does not allow to keep patch version in the Version number. Please advise if there is a way I can do it.
Thanks
Codename One only supports decimals because Android and iOS handle versioning very differently. It's really hard to create common code that works everywhere that's still easy to use.
As a workaround you can use the build hint ios.bundleVersion=1.1.1. Notice that this overrides the version value you set in the UI.

Coffeescript and CakePHP

Is there an easy way to use Coffeescript with CakePHP? Rails has Barista, but I haven't been able to find anything similar for CakePHP. Ideally, something transparent that would compile the coffeescript to javascript on-demand, and only when it has changed.
Google results for CakePHP & Coffeescript turn up a lot of talk over a clash between the cake command, but not much in the way of using them together. Has anyone found anything? Or maybe ideas on how I might implement such a plugin myself?
I know this isn't the answer you're looking for, but I usually handle this with a build script, either in Bash or Rake (yes, Rake, its great for building PHP projects too), which compiles, concats and compresses my .coffee files for production. While in development I use coffee -w to compile the .coffee files on the fly.
You could automate this further by adding a post-commit hook to Git or Subversion if you like.
You should be able to extend Mark Story's Asset Compress plugin to do the compiling on the fly as well.
You may want to look at kohana-coffeescript, which to my knowledge is the only project that does what you want in PHP. Although the project is nominally for the Kohana framework, it should be fairly easy to fork it and adapt it to CakePHP.

Enabling ExtJS code completion with IntelliJ IDEA

How do I enable auto-complete/code completion feature of IntelliJ IDEA to work with ExtJS javascript library?
Thanks
This could probably be closed as a dup of this question:
Add ExtJS code assist to IntellijIDEA
The answer is here:
http://blogs.jetbrains.com/webide/2010/11/working-with-javascript-libraries-in-phpstorm-webstorm/
do you have the extjs javascript files in your project? I find that when I do Intellij is somewhat good at getting methods, but it doesn't always get all the available methods. I thinks its just a gotcha of dynamic languages -- an IDE can't know all the methods available because some are available only at runtime...

Resources