Home
About Us
Advertise
Printable version
Sandbox vs. Client Object Model
By Peter Serzo
July 17, 2012 —
(Page 1 of 2)
This past weekend, I was coaching my son’s baseball team, and after several frustrating losses, we got a win in our last game. Why? We decided that instead of trying to make the parents and players happy by playing positions they wanted but were not as skilled at, we put them in positions where they would be successful. The outcome is that all parties (parents, players and coaches) were happy.
SharePoint is like that tournament team. There are many ways to successfully accomplish a task in SharePoint. While Microsoft touts this as a feature, this is a source of frustration to users, including developers. The issue I am addressing in this article is to give you guidance in regard to when to implement a sandbox solution versus a Client Object Model solution.
Since there has been plenty written regarding these technologies from a how-to standpoint, I am going to address two real-world scenarios.
Last week, I was speaking to a customer about a dynamic site map they wanted to implement. They asked for my comments regarding a sandbox solution they found online. This solution creates a dynamic site map when the page renders. I steered him away from this and toward the Client Object Model.
While the sandbox solution would work, the problem lies in the resource quota that is consumed every time the page is rendered. The customer had a public site that has the potential to be hit thousands of times a day. If that page is rendered even half the time, it is conceivable that resource quotas will be met quickly. These will have to be raised in accordance with the popularity of the site. This was not a good fit for a sandbox solution.
I steered him to the Client Object Model (which I believe is a Top 3 technology improvement that was introduced with SharePoint 2010). Over the last two years, I have personally utilized it on public websites that get hit thousands of times a day. Some of these websites get extensive traffic from as far away as India. The sites are still responsive. The best part is that much of the code that has been written for the sandbox solution can be reused! Now when the page is rendered, this code is run client-side and sent to the server for response.
Next Page
Pages
1
2
Share this link:
https://sptechweb.com/link/36803
Related Articles
Customizing SharePoint Online Using SharePoint Designer, Part 1
Once you get a handle on SharePoint Online, the question becomes: How can I modify it to suit my needs. First of two parts.
Are you or your client SharePoint self-centered?
Increasing awareness and understanding are necessary to get SharePoint users to maximize their use of it
Sandbox Solutions: Frequently-Asked Questions
Larry Riemann answers your questions about the newly introduced Sandbox Solutions to SharePoint 2010
Add comment
Name*
Email*
Country
United States
Canada
Afghanistan
Albania
Algeria
American Samoa
Andorra
Angola
Anguilla
Antarctica
Antigua & Barbuda
Antilles, Netherlands
Arabia, Saudi
Argentina
Armenia
Aruba
Australia
Austria
Azerbaijan
Bahamas, The
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bermuda
Bhutan
Bolivia
Bosnia and Herzegovina
Botswana
Brazil
British Virgin Islands
Brunei Darussalam
Bulgaria
Burkina Faso
Burundi
Cambodia
Cameroon
Cape Verde
Cayman Islands
Central African Republic
Chad
Chile
China
Christmas Island
Cocos (Keeling) Islands
Colombia
Comoros
Congo
Cook Islands
Costa Rica
Cote D'Ivoire
Croatia
Cuba
Cyprus
Czech Republic
Denmark
Djibouti
Dominica
Dominican Republic
East Timor (Timor-Leste)
Ecuador
Egypt
El Salvador
Equatorial Guinea
Eritrea
Estonia
Ethiopia
Falkland Islands (Malvinas)
Faroe Islands
Fiji
Finland
France
French Guiana
French Polynesia
Gabon
Gambia, the
Georgia
Germany
Ghana
Gibraltar
Greece
Greenland
Grenada
Guadeloupe
Guam
Guatemala
Guernsey
Guinea
Guinea-Bissau
Guinea, Equatorial
Guyana
Haiti
Holland (see Netherlands)
Honduras
Hong Kong, (China)
Hungary
Iceland
India
Indonesia
Iran, Islamic Republic of
Iraq
Ireland
Israel
Italy
Jamaica
Japan
Jordan
Kazakhstan
Kenya
Kiribati
Korea (North)
Korea (South)
Kuwait
Kyrgyzstan
Laos
Latvia
Lebanon
Lesotho
Liberia
Libya
Liechtenstein
Lithuania
Luxembourg
Macao, (China)
Macedonia, TFYR
Madagascar
Malawi
Malaysia
Maldives
Mali
Malta
Marshall Islands
Martinique
Mauritania
Mauritius
Mayotte
Mexico
Micronesia, Federated States of
Moldova, Republic of
Monaco
Mongolia
Montenegro
Montserrat
Morocco
Mozambique
Myanmar
Namibia
Nauru
Nepal
Netherlands
Netherlands Antilles
New Caledonia
New Zealand
Nicaragua
Niger
Nigeria
Niue
Norfolk Island
Northern Mariana Islands
Norway
Oman
Pakistan
Palau
Palestinian Territory
Panama
Papua New Guinea
Paraguay
Peru
Philippines
Poland
Portugal
Puerto Rico
Qatar
Reunion
Romania
Russia (Russian Federation)
Rwanda
Saint Helena
Saint Kitts and Nevis
Saint Lucia
Saint Pierre and Miquelon
Saint Vincent and the Grenadines
Samoa
San Marino
Sao Tome and Principe
Saudi Arabia
Senegal
Serbia & Montenegro
Seychelles
Sierra Leone
Singapore
Slovakia
Slovenia
Solomon Islands
Somalia
South Africa
Spain
Sri Lanka
Sudan
Suriname
Swaziland
Sweden
Switzerland
Syrian Arab Republic
Taiwan
Tajikistan
Tanzania, United Republic of
Thailand
Timor-Leste (East Timor)
Togo
Tokelau
Tonga
Trinidad & Tobago
Tunisia
Turkey
Turkmenistan
Turks and Caicos Islands
Tuvalu
Uganda
Ukraine
United Arab Emirates
United Kingdom
Uruguay
Uzbekistan
Vanuatu
Vatican City State (Holy See)
Venezuela
VietNam
Virgin Islands, British
Virgin Islands, U.S.
Wallis and Futuna
Western Sahara
Yemen
Zambia
Zanzibar
Zimbabwe
[Not specified]
Compose