Posts Tagged:javascript

rfp-robotRFP ROBOT: Website Request for Proposal Generator

The time has come for a new website (or website redesign), which means you need to write a website request for proposal or web RFP. A Google search produces a few examples, but they vary wildly and don’t seem to speak really to your goals for developing or redesigning a new website. You need to write a website RFP that will clearly articulate your needs and generate responses from the best website designers and developers out there. But how?

Have no fear, RFP Robot is here. He will walk you through a step-by-step process to help you work through the details of your project and create a PDF formatted website design RFP that will provide the information vendors need to write an accurate bid. RFP Robot will tell you what info you should include, point out pitfalls, and give examples.


Now that CSS Custom Properties are a Thing, All Value Parts Can Be Changed Individually

In CSS, some properties have shorthand. One property that takes separated values. Syntactic sugar, as they say, to make authoring easier. Take transition, which might look something like: .element { transition: border 0.2s ease-in-out; } We could have written it like this: .element { transition-property: border; transition-duration: 0.2s; transition-timing-function: ease-in-out; } Every “part” of the shorthand value has its own property it maps to. But that’s not true for everything. Take box-shadow: .element { box-shadow: 0 0 10px #333; } That’s not shorthand for other properties. There is no box-shadow-color or box-shadow-offset. That’s where Custom Properties come to save us! We could set it up like this: :root { –box-shadow-offset-x: 10px; –box-shadow-offset-y: 2px; –box-shadow-blur: 5px; –box-shadow-spread: 0; –box-shadow-color: #333; } .element { box-shadow: var(–box-shadow-offset-x) var(–box-shadow-offset-y) var(–box-shadow-blur) var(–box-shadow-spread) var(–box-shadow-color); } A bit verbose, perhaps, but gets the job done. Now that we’ve done that, remember we get some uniquely cool things:…

Read More →

Java Engineer – Server Side – Treeline Interactive – San Diego, CA

Treeline Interactive is searching for a Java Developer to join our growing Development Team. PHP, Python, Javascript, Node.js, Drupal, Laravel, WordPress, Java,…From Treeline Interactive – Mon, 24 Apr 2017 23:12:02 GMT – View all San Diego jobs Source: http://rss.indeed.com/rss?q=Drupal+Developer

Senior Web Developer – Treeline Interactive – San Diego, CA

Treeline Interactive is searching for a Web Developer to join our growing Development Team. Flash, PHP, Python, Javascript, Node.js, Drupal, Laravel, WordPress,…From Treeline Interactive – Mon, 24 Apr 2017 23:11:59 GMT – View all San Diego jobs Source: http://rss.indeed.com/rss?q=Drupal+Developer

The Many Tools for Shape Morphing

To no one’s surprise, I’m sure, there are lots of different ways to do the same thing on the web. Shape morphing, being a thing on the web, is no different. There are some native technologies, some libraries that leverage those, and some libraries that do things all on their own. Let’s look at some of the options (with demos) and weigh the advantages and disadvantages. SMIL The original, native technology for shape morphing is SMIL. We have both a guide to SMIL on CSS-Tricks, and an article talking about replacements for it, since it doesn’t work in Microsoft browsers and Blink threatened to yank it at one point. I wouldn’t suggest doing important work in SMIL but it is OG shape morphing. See the Pen Sitepoint Challenge #1 in SVG and SMIL by Noah Blon (@noahblon) on CodePen. Our article How SVG Shape Morphing Works covers SMIL shape morphing…

Read More →

How to Create the Standard Bootstrap Navbar Button for Mobile Devices

Bootstrap is an HTML, CSS and JavaScript framework. Using it, you can easily build mobile-first responsive websites. It offers you plenty of pre-set CSS styling for web elements, including navigation bars. In this tutorial, you will learn how to easily create a basic Bootstrap responsive navbar. Then you’ll learn how to use a Bootstrap Standard Navbar Button for mobile devices. [[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]] Source: https://www.ostraining.com/

Intern, Mean Stack Developer – SAP – Palo Alto, CA

Working knowledge in Angular Javascript, Drupal or WordPress is a plus. You will be working with product managers, designers, architects and other developers,…From SAP – Sat, 22 Apr 2017 04:38:26 GMT – View all Palo Alto jobs Source: http://rss.indeed.com/rss?q=Drupal+Developer

Senior Python Developer. ONLY H4,L2,GC,GC-EAD,USC – PIVOSYS – Iselin, NJ

Senior Python Developer*. JavaScript (React, jQuery), PHP (CodeIgniter, Drupal), CSS Bootstrap. West Chester Pennsylvania*….From Indeed – Thu, 20 Apr 2017 21:59:09 GMT – View all Iselin jobs Source: http://rss.indeed.com/rss?q=Drupal+Developer

The Power of Custom Directives in Vue

When you’re initially learning a JavaScript framework, it feels a little like being a kid in a candy store. You take in everything available to you, and right off the bat, there are things that will make your life as a developer easier. Inevitably though, we all reach a point working with a framework where we have a use-case that the framework doesn’t cover very well. The beautiful thing about Vue is that it’s incredibly feature-rich. But even if you have an edge case not covered by the framework, it’s got your back there as well, because you can quite easily create a custom directive. What are directives? I’ve written a post here on directives in my guide on Vue.js, but let’s do a refresher. Directives are tiny commands that you can attach to DOM elements. They are prefixed with v- to let the library know you’re using a special…

Read More →

When Does a Project Need React?

You know when a project needs HTML and CSS, because it’s all of them. When you reach for JavaScript is fairly clear: when you need interactivity or some functionality that only JavaScript can provide. It used to be fairly clear when we reached for libraries. We reached for jQuery to help us simplify working with the DOM, Ajax, and handle cross-browser issues with JavaScript. We reached for underscore to give us helper functions that the JavaScript alone didn’t have. As the need for these libraries fades, and we see a massive rise in new frameworks, I’d argue it’s not as clear when to reach for them. At what point do we need React? I’m just going to use React as a placeholder here for kinda large JavaScript framework thingies. Vue, Ember, Svelte… whatever. I understand they aren’t all the same, but when to reach for them I find equally nebulous.…

Read More →

The Can-Do’s of CodePen Projects

We just recently launched Projects, the latest big feature over on CodePen. It’s quite a bit different than the Pen Editor, so let’s take a look at all the things it can do! A Complete File System, and Complete HTML Files With CodePen Projects, you get a sidebar of files for you to put whatever files you like. That’s different than the Pen Editor on CodePen, which only gives you the HTML, CSS, and JavaScript editor to work with. While that’s super convenient for many types of demos, it can be limiting. What if you need multiple HTML files to link between? What if you need partials to include as needed? What if you need to upload other files to work with just for this demo? With Projects, you have complete control over the entire file structure. Create files and folders as needed. HTML files are complete documents, so you…

Read More →

Photicular

I was on vacation this past week and at some little beach gift shop they were selling this really cool big thick book called Ocean: A Photicular Book. You’ve probably seen something like it before… a plastic card that shows different images depending on how you are looking at it. This book is extremely well done in that the image are very high quality, and the design of the book makes the images move as you turn the pages. Here’s a quick video: check this book it’s the coolest pic.twitter.com/isRLATp9im — Chris Coyier (@chriscoyier) April 13, 2017 Here’s an explanation by Dan Kainen: Photicular, also known as Lenticular, or Integrated Photography, was first conceived in the early 20th century, but the basic concept has been around since 1692 when a French painter created paintings that revealed one, and then the other as the observer walked by. The simplest form of…

Read More →

ES6 modules support lands in browsers: is it time to rethink bundling?

Modules, as in, this kind of syntax right in JavaScript: import { myCounter, someOtherThing } from ‘utilities’; Which we’d normally use Webpack to bundle, but now is supported in Safari Technology Preview, Firefox Nightly (flag), and Edge. It’s designed to support progressive enhancement, as you can safely link to a bundled version and a non-bundled version without having browsers download both. Stefan Judis shows: <!– in case ES6 modules are supported –> <script src=”app/index.js” type=”module”></script> <!– in case ES6 modules aren’t supported –> <script src=”dist/bundle.js” defer nomodule></script> Not bundling means simpler build processes, which is great, but forgoing all the other cool stuff a tool like Webpack can do, like “tree shaking”. Also, all those imports are individual HTTP requests, which may not be as big of a deal in HTTP/2, but still isn’t great: Khan Academy discovered the same thing a while ago when experimenting with HTTP/2. The idea…

Read More →

Smooth Scrolling and Accessibility

Smooth scrolling (the animated change of position within the viewport from the originating link to the destination anchor) can be a nice interaction detail added to a site, giving a polished feel to the experience. If you don’t believe me, look at how many people have responded to the Smooth Scrolling snippet here on CSS-Tricks. Smooth scrolling vs abrupt jumps Regardless of how you implement the feature, there are a few accessibility issues that should be addressed: focus management and animation. Focus Management It is important to ensure that all content can be accessed with the keyboard alone because some users 100% rely on the keyboard for navigation. So, when a keyboard user navigates through the content and hits a link that uses smooth scrolling, they should be able to use it to navigate to the target anchor element. In other words, when you follow a link, the keyboard focus…

Read More →

Introduction to Bootstrap for Absolute Beginner

Bootstrap is the best HTML, CSS and JavaScript framework for any web developer. It will help you quickly produce responsive, clean looking websites. It does this simply by providing you with a ton of pre-built CSS and JavaScript for lists, navigation bars, forms and lots of other web elements. With Bootstrap you can focus more on the website you wanted, and less – wrestling with some of the CSS issues, media queries, and cross-browser compatibility. [[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]] Source: https://www.ostraining.com/

Brotli and Static Compression

Content compression can be as simple as flipping a switch, but there’s a lot to consider beyond that. We pretty well know what we need to compress, but what about configuring compression? Or static versus dynamic compression? What about Brotli? By now, Brotli enjoys support in a good chunk of browsers in use. While it provides performance advantages in many situations, there are some ins and outs that can prove challenging. At its highest compression setting, Brotli provides superior compression ratios to gzip, but the compression speed at this setting is slow enough that the benefit is squandered when content is dynamically compressed. What you really want in cases such as these is static compression. If you’re unaware of the differences between static and dynamic compression, here’s a quick refresher: Dynamic compression occurs on-the-fly. The user makes a request, the content is compressed (as the user waits) and the compressed…

Read More →

ES6 for Drupal Developers: ES6 Modules, Classes, and Promises

Some of the most important new features in ES6 originate from existing solutions for problems shared by a large swath of JavaScript applications. This is particularly true of ES6 modules, a new system of class-based inheritance, and promises. Prototypal inheritance can be difficult for those new to JavaScript. And at some point, modules and promises have both been present in various JavaScript libraries, but until now, they were impossible to implement natively. In the previous installment of this blog series, we looked at some of the most conspicuous aspects of ES6, such as arrow functions and concise methods, in addition to smaller syntactic features like template literals and computed property names. In this final installment of the “ES6 for Drupal Developers” series, we’ll dig into ES6 modules, classes, and promises, all essential elements that are emblematic of the new way to write JavaScript. ES6 modules and named exports The most…

Read More →

Web Developer – TS/SCI w/Polygraph Required – General Dynamics Information Technology – McLean, VA

SharePoint Designer 2010/2013, HTML, JavaScript, CSS Experience Experience defining site structures as well as sub site in SharePoint Experience with Adobe…From General Dynamics Information Technology – Tue, 11 Apr 2017 17:07:15 GMT – View all McLean jobs Source: http://rss.indeed.com/rss?q=Drupal+Developer

Debugging Tips and Tricks

Writing code is only one small piece of being a developer. In order to be efficient and capable at our jobs, we must also excel at debugging. When I dedicate some time to learning new debugging skills, I often find I can move much quicker, and add more value to the teams I work on. I have a few tips and tricks I rely on pretty heavily and found that I give the same advice again and again during workshops, so here’s a compilation of some of them, as well as some from the community. We’ll start with some core tenants and then drill down to more specific examples. Main Concepts Isolate the Problem Isolation is possibly the strongest core tenant in all of debugging. Our codebases can be sprawling, with different libraries, frameworks, and they can include many contributors, even people who aren’t working on the project anymore. Isolating…

Read More →

Pong with SVG.js

Everybody loves the vintage game Pong, right? We sure do. What’s more fun? Building it yourself! That’s why we decided to create one with SVG.js – to highlight some aspects of our library. It might seem like a complex idea for a small tutorial, but as you’ll see, it’s simpler than it sounds. Let’s dive into it! Here’s the finished product: See the Pen Fully functional Pong game with effects by Wout Fierens (@wout) on CodePen. Getting started SVG.js is available through Github, npm, bower or CDN.js. There are plenty of options for getting your hands on SVG.js, so use whatever you are most comfortable with. Start out by creating a new HTML document and include the library. Create an empty <div> to serve as a wrapper for the SVG document, and give it an id attribute. Something like pong should be suitable for this project: <div id=”pong”></div> Next, initialize…

Read More →

Back to Top