Easy Dynamics Blog

AWS S3 Bucket Name Validation Regex

Posted by Scott Lanoue on Oct 24, 2016 10:00:00 AM

Amazon Web Services enforces a strict naming convention for buckets used for storing files. Amazon’s requirements for bucket names include: 

  • A Bucket's name can be between 6 and 63 characters long, containing lowercase characters, numbers, periods, and dashes
  • Each label must start with a lowercase letter or number
  • Bucket names cannot contain underscores, end with a dash, have consecutive periods, or use dashes adjacent to periods
  • Lastly, the bucket name cannot be formatted as an IPV4 address (e.g. 255.255.255.255)

Read More

Topics: Amazon Web Services, JavaScript, Field Validation, AWS, HTML, Testing, Programming

How to Write SharePoint Custom Actions

Posted by Kayla Funke on Aug 1, 2016 10:00:00 AM

You create a SharePoint action to add custom buttons to the ribbon or settings pages. Actions can be created in Visual Studio and consist of a single Elements file. Multiple actions can be deployed with just one file. In typical SharePoint style, a web-level feature is used to install the action(s). 

Read More

Topics: JavaScript, SharePoint, User Interface, Visual Studio, SharePoint JSOM, Demo

File Placement in Custom SharePoint Site

Posted by Marshall Stukes on May 24, 2016 11:00:00 AM

So you want to customize your SharePoint site with custom CSS and JavaScript, like Bootstrap or Angular, but you don’t know where to put the files? You’re in the right place for the answers you seek. There are three places you can put your files: the Master Page Gallery, the Site Assets folder, or the Style Library. The place you choose should be dependent on your project. This is the way I organize my files, as there is no set definition of where you place them.

Read More

Topics: JavaScript, SharePoint, Bootstrap

Syntax Highlighting For Code Snippets in HubSpot

Posted by David Taylor-Fuller on May 3, 2016 11:00:00 AM

If you spend enough time perusing technical blogs, one of the things that you will notice is that any code snippets that are included in the article seem to have an IDE or a very good editor embedded in their article since their snippets come with accurate syntax highlighting along with line numbers. Unfortunately, technical blog authors aren’t using some gold plated blog engine to accomplish this particular feat, though such blog engines exist. In most cases, they are using a client side plugin that is a combination of CSS and JavaScript called a Syntax Highlighter.

Read More

Topics: Easy Dynamics, Live Demo, Best Practices, JavaScript, Installation, HTML, Web Development, Programming

Built-In and Custom AngularJS Filters

Posted by Kayla Funke on Apr 6, 2016 9:00:00 AM

Now that you know how to write custom AngularJS directives and how AngularJS helps validate forms, let's move on to the next great feature. AngularJS filters make it easy to display a subset of items from a collection. They are used with directives like ng-options and ng-repeat. Read this guide to learn how to decipher their syntax and even write your own. 

Read More

Topics: AngularJS, Live Demo, Best Practices, JavaScript

How to Add a Custom Action to the Grid When Using bootstrapTable

Posted by David Murphy on Feb 17, 2016 10:30:00 AM

Say you're a web applications developer. Say you have a requirement for a grid. Say you've decided, like so many others, that you are not an idiot and have therefore chosen to use the "bootstrapTable" package instead of committing slow painful suicide by trying to code it all yourself. Good move!

But there are of course downsides to using packages, and a big one is that no matter how friendly the creator is, and how much customizing he offers, there's always that one requirement you need to implement that just isn't available.  This post is about adding action buttons above the grid itself, to accompany the "Columns" and "Refresh" buttons provided.

Read More

Topics: JavaScript, Bootstrap, Web Application, HTML

Form and Field Validation Best Practices

Posted by Martin Ramos on Jan 27, 2016 10:00:00 AM

Have you ever gotten that feeling where you go to a website and can easily fill out all the information needed without any issues? A website where you actually enjoy how organized, smooth, and clean everything looks and feels? A website where you know exactly what to do, how to input the data, and the page flows and you can fill it out without moving your hands from the keyboard or touching the mouse? Websites like that are hard to find because there is a tremendous amount of work going on behind the scenes to make that user experience happen.

Read More

Topics: Best Practices, JavaScript, Field Validation, Form Validation, UI

How to Write Custom AngularJS Directives

Posted by Kayla Funke on Jan 15, 2016 4:29:27 PM

Much of Angular’s built-in functionality is provided by modular slices of code called directives. You can write custom directives to perform form validation, to minimize code repetition, to attach events to elements, to inject markup into templates, and more. Directives are so powerful that their usefulness is limited only by how well you understand them. Get more out of Angular by learning how to write custom directives today.

Read More

Topics: AngularJS, JavaScript

Using MVC to Avoid Magic Numbers in Your JavaScript

Posted by David Murphy on Oct 22, 2015 1:00:00 PM

Hard-coding "magic numbers" in your code has always been a problem for several reasons: they're not meaningful, they're difficult to search for reliably, and the chance of using the wrong value is unacceptably high. The first improvement was preprocessor macros in C:

Read More

Topics: JavaScript

TypeScript 101: Benefits and How To Install It

Posted by Kishore Jogia on Oct 20, 2015 1:00:00 PM

 

TypeScriptLang tells us that "TypeScript is a superset of JavaScript that compiles to plain JavaScript." Therefore, it is essentially JavaScript, but with Object-Oriented features and keywords to help keep your code clean and maintainable. This blog post is a TypeScript 101 of sorts in which I will explain why you should use it and how to set it up.

Read More

Topics: AngularJS, JavaScript

Easy Dynamics: The SharePoint Experts

We are a leading SharePoint Services and Solutions shop located in Washington, DC. 

Thanks for coming to our blog! Here you will find relevant news and information about the technologies we use and other things we find interesting. Want to know more about who we work with? Or our first commercially available product, EasyBox

You can find links to all of these things and more right from this page. Enjoy reading!

Subscribe to Email Updates