Liferay has two types of services:
1) Internal ServicesLiferay core services, such as portal-impl.jar
2) External ServicesThat is, portal APIs, such as portal-kernel.jar and portal-service.jar
The liferay internal service is updated frequently. Pay special attention to the liferay version upgrade. The liferay external service is quite stable.
EXT development can use the internal service and external service at the same time. The latest trend of lifera
Java Development must-install IntelliJ idea Pluginreprinted April 14, 2016 10:13:16
9453
Go to: Http://www.oschina.net/news/69858/java-developer-need-intellij-idea-pluginIntelliJ idea is one of the best and most intelligent Java Ides of all time, with the default integration of almost all the mainstream development tools and frameworks.Idea Plugin
directly opens the directory where the selected files are located.official website: http://sourceforge.net/projects/easystruts/(5) EasysqlIntroduction: Easysql:eclipse SQL Plug-in. Includes SQL editor and executor, table Editor, data Export tool. The Easysql is designed to be easy to integrate with other plugins. If you need a database in your projectOperation function, you can consider the plug-in.official website: http://easysql.sourceforge.net/plugin
Extending the jquery Plug-ins and methods is very powerful, and it can save a lot of development time. This article will outline the basics of jquery plug-in development, best practices, and common pitfalls.
First, Getting Started
Writing a jquery plugin starts with adding new feature attributes to Jquery.fn, where the name of the object attribute is the name o
JQuery plugin Development (advanced) and jquery Development (advanced)JQuery plug-in Development Mode
In the software development process, a certain design pattern is required to guide the development. With the pattern, we can bet
JQuery plugin Development Guide and jquery Development Guide
First, let's take a simple look at the most orthodox jQuery plug-in definition:
Copy codeThe Code is as follows:(Function ($ ){$. Fn. Plug-in name = function (settings ){// Default parameterVar defaultSettings = {}/* Merge the default parameters and user-defined parameters */Settings = $. extend (defaul
′};$.fn.wpaint = function (settings){Settings = $.extend ({}, DefaultSettings, Settings | | {});Return This.each (function (){var Elem = $ (this);Run some code here keleyi.com}}You can notice that the "DefaultSettings" in the code above is completely outside the plugin method, since the code is inside the closure, we don't have to worry about these variables being rewritten.5. Why to set Class prototypingAs your code of blood and Flesh, methods and fu
The long-awaited Ali Java Development Specification plug-in, finally released in 2017-10-14, this specification plug-in really Java developers must have tools, it is worth a praise.
1. Download and install the plugin
Settings >> Plugins >> Browse repositories ...
2. Restart idea
Tools >> Alibaba Coding Guidelines
3, Code analysis check list
Settings >> inspections >> all-check code Check List
4
A Plugin Development PatternRead 107 comments by Mike Alsup
I ' ve been developing jQuery plugins for quite a while now, and I ' ve become rather comfortable with a particular style of P Lugin development for my scripts. This article was meant to share the pattern that I ' ve found especially useful for plugin authorin
points to a DOM element when using jquery normally. Do not understand this, will often use $ and wrapped again.
(function ($) {
$.fn.myplugin = function () {
//No need to use $ (this)
//$ (this) is the
same as $ ($ (' #element ')) This.fadein (' normal ', function () {
//This here refers to a DOM element
});}
)
(jQuery);
$ (' #element '). Myplugin ();
3, Basic develo
();As you can see from the code above, the development and use of plugins is very simple.Release of PluginsAfter you write the plugin, you can publish it to the official jquery website.First, write a plugin for the information file YourPluginName.jquery.json. The yourpluginname in the file name represents your plug-in name.{ "Name": "Plugin_name", "title": "Pl
There are two types of jquery plugin development:One is the development of a class-level plug-in that adds a new global function to jquery, which is equivalent to adding a method to the jquery class itself. The global function of jquery is a function that belongs to the jquery namespace, and the other is the object-level plug-in development that adds a method to
The most successful part of jquery, I think, is that its extensibility has attracted many developers to develop plug-ins to build an ecosystem. This is like the big companies competing to do the platform, the platform to the world. Apple, Microsoft, Google and other giants, all have their own platform and ecological circle.Learning to use jquery is not difficult, because it's easy to learn, and I'm sure you'll be using or familiar with many of its plugins after you touch jquery. If you want to i
:
1.jquery.myplugin = {
2.foo:function () {
3.alert (' This is a test '. This is a test. ');
4.},
5.bar:function (param) {
6.alert (' This function takes a parameter, which is ' ' + param + ' ". ');
7.}
8.};
9. A function that takes a namespace is still a global function, and the method used when invoked:
10.$.myplugin.foo ();
11.$.myplugin.bar (' Baz ');
With this technique (using a standalone plug-in name), we can avoid the conflict of functions within the namesp
1jquery Plugin Development Full analysisThere are two types of jquery plugin development:One is the development of a class-level plug-in that adds a new global function to jquery, which is equivalent to adding a method to the jquery class itself. JqueryGlobal functions are functions that belong to the jquery namespace,
jquery Plugin Development Full analysisThere are two types of jquery plugin development:One is the development of a class-level plug-in that adds a new global function to jquery, which is equivalent to adding a method to the jquery class itself. The global function of jquery is a function that belongs to the jquery nam
There are two types of jquery plugin development:One is the development of a class-level plug-in that adds a new global function to jquery, which is equivalent to adding a method to the jquery class itself. JqueryGlobal functions are functions that belong to the jquery namespace, and the other is an object-level plug-in development that adds a method to a jquery
to jquery via $.extend (), which is then called directly through $. Here you can think that we have completed a simple jquery plugin.
But as you can see, this is a convenient way to define some helper methods. For example, a custom console that outputs a specific format of information, once defined, can be invoked at any point in the program through jquery.
$.extend ({
log:function (message) {
var now = new Date (),
y = now.get
The most successful part of jquery, I think, is that its extensibility has attracted many developers to develop plug-ins to build an ecosystem. This is like the big companies competing to do the platform, the platform to the world. Apple, Microsoft, Google and other giants, all have their own platform and ecological circle.Learning to use jquery is not difficult, because it's easy to learn, and I'm sure you'll be using or familiar with many of its plugins after you touch jquery. If you want to i
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.