EzDevInfo.com

plugins interview questions

Top plugins frequently asked interview questions

How do you develop Java Servlets using Eclipse?

I would like to program Java servlets using Eclipse and I plan on deploying them using Tomcat. I think I can build the projects using Ant which is bundled with Eclipse. I have the standard Eclipse IDE. What options do I have for doing Servlet development in Eclipse? What changes do I need to make to Eclipse? Do I need to install a plug-in?


Source: (StackOverflow)

How can I get query string values in JavaScript?

Is there a plugin-less way of retrieving query string values via jQuery (or without)?

If so, how? If not, is there a plugin which can do so?


Source: (StackOverflow)

Advertisements

Best way to allow plugins for a PHP application

I am starting a new web application in PHP and this time around I want to create something that people can extend by using a plugin interface.

How does one go about writing 'hooks' into their code so that plugins can attach to specific events?


Source: (StackOverflow)

How do I list loaded plugins in Vim?

Does anybody know of a way to list up the "loaded plugins" in Vim? I know I should be keeping track of this kind of stuff myself but it would always be nice to be able to check the current status.

Thanks


Source: (StackOverflow)

Building a minimal plugin architecture in Python

I have an application, written in Python, which is used by a fairly technical audience (scientists).

I'm looking for a good way to make the application extensible by the users, i.e. a scripting/plugin architecture.

I am looking for something extremely lightweight. Most scripts, or plugins, are not going to be developed and distributed by a third-party and installed, but are going to be something whipped up by a user in a few minutes to automate a repeating task, add support for a file format, etc. So plugins should have the absolute minimum boilerplate code, and require no 'installation' other than copying to a folder (so something like setuptools entry points, or the Zope plugin architecture seems like too much.)

Are there any systems like this already out there, or any projects that implement a similar scheme that I should look at for ideas / inspiration?


Source: (StackOverflow)

What are the "must have" jQuery plugins? [closed]

I'd like to know what are the most useful JQuery plugins. I'm particularly interested in those which are likely to be useful in general UI development, such as Tablesorter, rather than those which serve uncommon needs.

If you could provide a very brief description of the plugin's purpose, that would be really helpful.

Thanks, Don


Source: (StackOverflow)

How to install plugins to Sublime Text 2 editor?

How to install plugins to the Sublime Text editor?

I would like to install Emmet plugin to Sublime Text 2 editor.


Source: (StackOverflow)

Best way to build a Plugin system with Java

How would you implement a Plugin-system for your Java application?

Is it possible to have an easy to use (for the developer) system which achieves the following:

  • Users put their plugins into a subdirectory of the app
  • The Plugin can provide a configuration screen
  • If you use a framework, is the license compatible with commercial developement?

Source: (StackOverflow)

VIM ctrlp.vim plugin: how to rescan files?

I have come across the awesome ctrlp.vim plugin. It is a good alternative to the Command-T plugin which I have used before. What I did not like about Command-T is that it would take about 20-30 seconds to rescan files when it is invoked for the first time after starting vim.

CtrlP works a lot faster but it does not seem to automatically rescan for newly created files. How should I trigger a rescan manually?

Thanks!


Source: (StackOverflow)

Temporarily disable some plugins using pathogen in vim.

I think I have a bug in one plugin. I would like to load only this plugin, without having to delete all the other bundles in my pathogen's bundle folder, to debug.

Is it possible?


Source: (StackOverflow)

How To Create a Flexible Plug-In Architecture?

A repeating theme in my development work has been the use of or creation of an in-house plug-in architecture. I've seen it approached many ways - configuration files (XML, .conf, and so on), inheritance frameworks, database information, libraries, and others. In my experience:

  • A database isn't a great place to store your configuration information, especially co-mingled with data
  • Attempting this with an inheritance hierarchy requires knowledge about the plug-ins to be coded in, meaning the plug-in architecture isn't all that dynamic
  • Configuration files work well for providing simple information, but can't handle more complex behaviors
  • Libraries seem to work well, but the one-way dependencies have to be carefully created.

As I seek to learn from the various architectures I've worked with, I'm also looking to the community for suggestions. How have you implemented a solid plug-in architecture? What was your worst failure (or the worst failure you've seen)? What would you do if you were going to implement a new plug-in architecture? What SDK or open source project that you've worked with has the best example of a good architecture?

A few examples I've been finding on my own:

These examples seem to play to various language strengths. Is a good plugin architecture necessarily tied to the language? Is it best to use tools to create a plugin architecture, or to do it on one's own following models?


Source: (StackOverflow)

Useful Vim plugins for web development and design (php, html, css, javascript)? [closed]

Right now I'm using surround.vim to enclose text in HTML tags, and a plugin that highlights text according to the hex value in the CSS file (e.g. #888 will have gray background in the CSS file).

Are there other useful plugins for web development?

Recommendations

Here is a list of the plugins mentioned in the answers so far:


Source: (StackOverflow)

What's the .apply jQuery function?

I see that in different plugins and codes, but I don't understand what does that function... In the jQuery api isn't referenced!


Source: (StackOverflow)

Sandbox against malicious code in a Java application

In a simulation server environment where users are allowed to submit their own code to be run by the server, it would clearly be advantageous for any user-submitted code to be run in side a sandbox, not unlike Applets are within a browser. I wanted to be able to leverage the JVM itself, rather than adding another VM layer to isolate these submitted components.

This kind of limitation appears to be possible using the existing Java sandbox model, but is there a dynamic way to enable that for just the user-submitted parts of a running application?


Source: (StackOverflow)

Eclipse plugin for generating a class diagram [closed]

What is a good Eclipse plugin for generating a class diagram (for a project)?

This image right here is exactly what I'm talking about.


Source: (StackOverflow)