Tag Archives: Best Practices

Internationalization Options in AngularJS and Salesforce: Part 2 – Time Zone Conversions

In part one of this series, we covered how to leverage some of the settings from the user’s profile in Salesforce to control the locale settings in angularJS. In this post, we will build off that initial example and extend it to cover time zone conversions. This will enable us to see all the data presented to the logged in user in that user’s time zone. This example could be further extended to allow the logged in user to see the data presented in another user’s time zone. An example of this is if an activity, task, or event needs to be assigned to a user in a different time zone, it is created in their time zone, not the time zone of who has created the activity. As long as the correct time zone is pulled from their profile, the new task is created in their time zone using the techniques outlined below.

Internationalization Options in AngularJS and Salesforce: Part 1 – Localization

An ISV partner recently asked us what their options were for performing internationalization (language translations, locale formatting, time zones, etc.) within a JavaScript Framework – specifically angularJS. They were looking to increase their app’s performance but did not want to give up all the “goodness” that they receive by using Visualforce components (think locale formatting for dates or currency). The ISV TE team did some research and came back with some options that could be leveraged to perform internationalization in angularJS. This is the first of a four-part series blog to cover our findings. Part one of this series will cover Localization. Part two will cover TimeZones Conversions. Part three will cover Language Conversions. Finally, Part four will cover Currency Conversions.


Apex Best Practices: The 15 Apex Commandments

Follow these 15 Apex Commandments for developing applications with Apex code and Visualforce.


Run Your PHP Apps on the Salesforce1 Platform

The Salesforce1 Platform now supports PHP using Heroku. Learn how the new PHP can make your app development more efficient.

Developing Selective Force.com Queries through the Query Resource Feedback Parameter Pilot

With the Spring '14 release, all Force.com developers have access to an exciting new tool: an "explain" parameter option in the platform's REST API. John Tan of Technical Enablement and guest author Chris Peterson have written an article that explains the Query Resource Feedback Parameter pilot and shows you how to use it to retrieve the query execution options that the Force.com query optimizer is considering. The article also gives you a simple Visualforce page and Apex controller to wrap the REST API call.


Get Better Visibility Into Your Business: Announcing the Usage Metrics Pilot Feature

With the Spring '14 release, we're pleased to present a pilot of the long-awaited, most-requested feature from our partners - Usage Metrics. Take a deeper look inside your business by leveraging the Usage Metrics API or installing our Visualization Tool.


Spring ’14 Salesforce.com DevOps Conference Day 2 Wrap-up

As we put another DevOps conference in the books, we reflect back on an amazing Day 2. We kicked off the conference with a panel of DevOps practitioners: Bruno Connelly, VP Engineering, Site Reliability at LinkedIn; Jeremy Carroll, Operations Engineer, Pinterest; Pedro Canahuati, Director, Production Engineering & Site Reliability at Facebook; and, Jason Wong, Director of Engineering, Infrastructure, Etsy.

Canvas Packaging Icon

Packaging Canvas Apps for Different Editions

We have seen some very impressive adoption rate amongst our customers and ISV partners in leveraging Canvas framework for building integrated composite applications on Salesforce1 platform. Based on some of the lessons learned and feedback received, we decided to publish this article to help our ISV partners understand their options when it comes to packaging Canvas for distribution and for support of different Salesforce1 platform editions.


The DevOps Mini-conference at Salesforce.com

Affecting a DevOps transformation at a large enterprise like salesforce.com is no small endeavor. Being one of the leading cloud companies in the industry however, well positions us to bring more DevOps practices into our organization. We practice DevOps principles every day, but a few times a year we set aside time to really level up. Tomorrow marks one of these times as we host our third internal DevOps mini-conference. We’ve found that spending this time together to discuss DevOps principles and to share knowledge on a level that reaches far beyond our daily interactions can pay dividends throughout the rest of the year.