I'm using PhpStorm 2016.1.
I'm using a chinese-written php framework. Unfortunately I found that there is no intelligence in PhpStorm for Model-classes of this framework.
I want to write intelligence plugin for this framework. Can anyone tell me how?
Documentation: https://confluence.jetbrains.com/display/PhpStorm/Plugin+Development
Creating Your First Plugin http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started.html
Related
I want to design workflow using Eclipse for Liferay CE.
Can anybody tell me how can i design kaleo workflow in Eclipse ?
I searched on the internet but could not find any facility for Community Edition (CE) to design our own workflow diagrammatically. Is there any reliable method other than kaleo for creating workflows for Liferay CE diagrammatically??Any help will be appreciated.
By design, Liferay does not have a built-in UI in CE for creating Workflows, and does not provide a plugin for doing so. It's one of the goodies folks get when purchasing a subscription to EE.
Liferay EE has a built-in Kaleo Designer, and Liferay Developer Studio also has a Kaleo Designer for Java plugin to give you the same functionality inside Eclipse.
None of the free, open-source options (Liferay IDE or Liferay CE) have this feature.
That said, between the information in the docs on Kaleo Designer and the docs on Designing XML workflows, you should be able to design your definitions using XML.
That's probably not entirely satisfactory, but I think it's the best you're going to manage.
Is there a Plugin for Eclipse/Aptana that provides autocompletion and other helpers for Symfony2 projects?
The best plugin out there is probably the Symfony2 Eclipse Plugin.
It provides:
autocompletion:
services
route-names
template-names
translation-keys,
container-parameters
...
config validation
annotation support
...
I have no idea for Aptana & Eclipse, but Netbeans comes with plugins for Symfony 2 (and 1) in the PHP and/or complete version. You have autocomplete and syntax coloration for PHP, Twig template, Yaml, xliff, etc...
Notice : some limitations with code completion when you use services for example.
Is there an alternative to CodeIgniter's Sparks package management in ZF and Yii?
Sparks is a package management system for Codeigniter that will allow you install high-quality libraries into your applications instantly.
-> from http://getsparks.org/
Is there something similar for Zend Framework? Or Yii?
Thanks in advance.
There isn't a package management tool for Yii yet.
You may find a list of extensions here: http://www.yiiframework.com/extensions/
Most of them have installation instructions which most of the time involve just extracting the contents to the extensions/ or components/ folder.
I can run a sample workflow done with jbpm5 outside of liferay
but now I want to run this example in liferay
So the problem is how to integrate jbpm5 with liferay
I think I need to edit some configuration files in liferay
I'm reading these instructions but I can not find the solution
It's not than simple if you are trying to integrate jBPM5. As you can see the tutorial that you mention has being written for jbpm 3.1.2, a very old version. It will be a great community contribution to integrate jBPM5 to liferay, so if you are interested we can guide you, but you will need to do the work and research to get it working. I can help you with the jBPM5 but you will need to dig into the liferay bits.
I suggest if you want to run Workflow inside Liferay, first you must find a plugin for workflow engine. As fas as I know, Liferay supports Activity, JBPM, Kaleo,.. Have you downloaded JBPM plugin for Liferay? Because for default Liferay using Kaleo.
My base need is to use the Jersey framework to develop very basic REST webservices.
I've read several tutorials regarding Jersey (JAX-RS framework) and writing webervices but so for I've not found an easy way to setup a development environment based on Eclipse Helios and Glassfish (Open Source Edition). When creating a Webservice in Eclipse, it seems to use JAX-WS, or when creating a Dynamic Web App, Eclipse reports a credentials error (I use admin/admin) or a wrong user name / password.
The tutorials I've found either use myEclipse, or Tomcat, or Maven. The later works pretty well but I wish I could avoid using the command line because creating the web.xml and other files like that one is really scary, and I'm not sure these files are supposed to be human-written. So I suppose (maybe I'm wrong) using a IDE will make things easier.
What do guys use ? How do you generate these files ? Do you use Eclipse only for writting code or also use the deploy facilities?
Any pointers are appreciated !
Thank you
SCO
You DO need to modify web.xml whenever it's needed. Especially with JAX-RS, you will have to define your servlet in web.xml.
I recommand you to use Maven. There are plenty of exemple in the web to do so. Good luck, JAX-RS is really great ! Maven is also nice.
I also use eclipse for creating and consuming web service based applications. In addition to WTP, I also use Axis plugins to make things easier (through wizards, highlighting as well as for schema verification).
The bottomline is to find the plugins that suit you the best