Category: Uncategorized

Build a jquery plugin


phpguidance

Introduction:

  1. 35% of all sites that use JavaScript, use jQuery
  2. 1 out 5, of all sites, use jQuery.

Example:

  • reddit.com
  • bing.com

Jquery:

  1.  jQuery is a JavaScript Library.
  2.  Simplicity, Speeds up web development
  3.   Avoids common headaches w/ browsers
  4.   Extensive list of plugins
  5.   Large & active community
  6.   Extensive test coverage (50 browsers, 11 platforms)
  7.   API for both coders and designers.

what is a plugin?

  •  A plugin is nothing more than a custom jQuery method created to extend the functionality of   the jQuery object (Ex: $(‘ul’).myPlugin()).
  • You want to “find something”, and “do something” but the “do something” is not available in jQuery.
  • Roll your own “do something” with a plugin.

A jQuery plugin steps:

    Plugins are simple, just follow the steps

      Step 1. create a private scope for $

View original post 28 more words

Advertisements

“Turn off lights” in Jquery


Developing Chrome Extensions for Salesforce


The Silver Lining

Get off my case!Chrome extensions are awesome, they provide amazing convenience that is limited only by your imagination. There are some amazing Chrome Extensions for Salesforce already, some of my favourites being:

As a great fan of JavaScript I’ve always wanted to create a Chrome Extension for Salesforce and I’ve finally gotten around to it. The hardest part was figuring out what context the JS executes in (e.g. in the current tabs context, or in some separate context). Let me step through the code to show you how it’s done.

Chrome Extension Structure

A Chrome Extension is made up of a JavaScript, HTML, images and JSON. At its core is a manifest file which contains the metadata describing your application in JSON. There is a lot of documentation about the structure of this file but some of the key elements are shown below.

This…

View original post 186 more words

Deploy Twillio – Salesforce library using Eclipse, without using ant or any other tool to integrate with Salesforce.


redcurrants

The first step of integration with any platform is setting up the environment for that integration. Some times it is easy and sometimes it is difficult. It depends on platform to platform.
If we talk about Twilio it provides all possible library in all possible languages and platforms so that we can integrate it with our apps. Here we are talking about Salesforce. Salesforce is the most popular platform till date in list of CRM. Integrating it with Twilio makes it a very power platform which can now has approach to person-to-person as we can call and sms to that person, and notify them. Twilio is an on-demand IVR platform that’s provides API for companies to build scalable applications that can make and receive phone calls.
If you go through that integration its first step is to install “Salesforce library” in your Salesforce org. For a developer who is just starting or…

View original post 50 more words

Salesforce: Dynamic dependant picklist in Visualforce Page


Manh Nguyen

I have a dynamic dependant picklist in Visualforce Page as the image below:

Image

+ The master picklist includes objects (e.g: Lead, Contact, Account, ..)

+ The secondary one contains a list of the last scan results.

1.1 The master list :

Select Object :

changeObjectType() function will call the function handleObjectTypeChange in Apex controller.

1.2 The secondary list:
Displaying Results from Scan on :

2. Apex Controller :

and

View original post

Scaled Agile Framework


markrajpal.com

Scaled Agile Framework was a popular topic at Agile 2013.

Here are some highlights I borrowed:

5 Reasons to consider the Scaled Agile Framework

1. If you have successfully experimented with Agile at the team level and you are now interested in implementing a consistent Agile approach across one or more programs or departments.

2. If you have multiple teams running their own unique implementation of Agile but you regularly experience obstacles, delays, and failures anytime the teams are dependent on one another.

3. If you are eager to scale Agile across the organization but are not sure what new roles may be needed and what existing roles (ie management) need to change and how.

4. If you have attempted to scale Agile across your organization but you have struggled to achieve consistent strategy across business departments and consistent alignment from the portfolio level to the program and team levels.

5. 

View original post 47 more words