Posts

Mustache Helper functions

Recently, implemented the Mustache Template processing framework.  As i worked through this implementation, i found myself creating the same JavaScript call and decided to simplify the overall execution into a single function signature and just call it multiple times. Root Mustache Call: 1: /********************************************************************* 2: @file - string value, Should be the HTML Template file. 3: @filterid - string value, Should the ID value of the Script tag inside 4: @file to obtain the HTML content. 5: @api - string value, Should be the URL to the API request 6: @dest - string value, Should be the destination selector, ideally ID 7: value of the control to load the Mustache Template into. 8: @func - (Nullable) Function value, If defined this will be executed 9: after the loading of the data into the Template. 10: --------------------------------------------------------------------...

Search Instance for a Stored Procedure usage

References: Peter Chamley MSSql Tips - Greg Robidoux: Listing SQL Server Object Dependencies Recently, I had the need to skim acrossed all the databases on a single instance.  In doing so I figured that the infamous 'sp_msforeachdb' undocumented stored procedure would be useful but was unsure on the methodology or pattern to implement.

SSMS 2012 - Template Modification

Ran into a situation where i needed to modify the standard templates that SSMS uses to Create Stored Procedures, Functions, and some other scripts. Problem: I did not know where to find these templates. First Solution: Goto Code Snippet Manager and modify snippets. Problem with this is that it requires you to create the XML snippet file and even then requires you to put it in, either the Public or Your Profile's, My Snippets folder. This does not solve the immediate problem as i would rather use the Context menu's New Stored Procedure (Function, etc). After-Thought: This solution though is great for things such as doing standard Select Statements for your organization.

SP2013: WebPart Attributes with Scope

Recently, I needed to find what Attributes i could use to either Enhance functionality or simply Lock down certain properties.  As such, I will start cataloging them in short with link-backs to MSDN. Seems to be a lack of a reliable Index, that i could find.  So as i find them I will be indexing them here, so at least i know its out there.

Cloud - Azure/SharePoint Development

Just created my Windows Azure free Trial. Wish me luck, going to see if i can really do the SharePoint Development i need with this, tentatively, Free Trial.