Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    354
    Thanks
    39
    Thanked 0 Times in 0 Posts

    JQuery plugin, worth to create?

    Ok, this is not a question where I am having issues, but seeking an advise from you on JQuery plugin development. We have to agree, there are many JQuery plugins in different categories such as image gallery, form validations, effects and so on.

    I was about to create a basic JQuery plugin with methods. I am new in JQuery plugin development, but I do have my required tutorials to cretae one and I did make one before when learning.

    The question is:

    Is it worth to create a JQuery plugin with methods, or simply create an open source script plugin, where a user can modify freely and embed it in their websites?

    In other words, I do not see a huge difference, by creating a JQuery plugin with methods, with an open source JQuery or JavaScript plugin without methods where you can customize freely. For example, there is TinyMCE, a rich text editor, it is a plugin in pure JavaScript and does not propose methods for people to modify. If you want to modify to add/remove features, simply do it by coding as it is open source. TinyMCE just propose you a default functionality.

    However, the only advantage a JQuery plugin with methods will have is to let people who have poor knowledge on web to configure their plugin easily while an open source script plugin like TinyMCE for instance, you need to code by yourself if you want to ameliorate.

    What do you think?
    Last edited by angelali; 11-07-2012 at 08:51 AM.

  • #2
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    I realize this doesn't answer your question, but why cant people edit a plugin? it's still plain text code. ( you can always provide a non compressed easy to read version of your code to users if you like)

    Plugins for jquery have advantages such as ( if done properly) they automatically avoid conflicts with the $ namspace, yes easy to configure, and they maintain the chainability (? i suppose thats a word) of jquery functions ( also when done properly)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •