Posts Tagged ‘Code’

More articles on the topic…

Understanding Spread in Susy3

Susy 3.0 will be released in the next week, if all goes well, and there's a lot to write about it. I wanted to start with a detailed overview of one core concept: spread.

Read More

Django, Background Processes, and Keeping Users in the Loop

When you have out-of-band processing in a web app, how do you let users know that the status of a task has changed? Depending on your front-end client, there are a few different approaches you might take.

Read More

Three Names to Include in Your User Model

The term “username” is ambiguous. When designing a user model there are several kinds of names that are useful to include.

Read More

Making Function Calls Across Sass Versions

The Sass 3.5 Release Candidate includes support for first-class functions. What are they, how do we use them, and what tools can we use to future-proof our Sass toolkits in advance?

Read More

Blocking Analytics Spam

Google Analytics is great for gathering data on who uses your web application, but becomes worthless if spam sessions start infesting your data. Here's how we've tried to combat the problem for oddbird.net.

Read More

Serializing Things for Celery

Transmitting objects between web processes and worker processes is a requirement of many modern web apps. Given that the safest way to do so is to use a serialization format that only includes primitive data types, how can we send custom objects around?

Read More

Code Patterns & Style Guides

Living Style Guide documentation on the web is a difficult problem, gaining a lot of attention in the last few years. Let's take an in-depth look at one way to store patterns directly in Sass, and generate documentation automatically.

Read More

Tips and Tools We Love

We wanted to show some love to a few great tools we use to get us through our work days. Do you have any to add to our list?

Read More

Generating Code Documentation for Polyglot Projects

Code documentation is ideally written as close to the actual code as possible, but compiled into a comprehensive set of documentation that includes code from all languages in use. Here's how we intend to do that.

Read More

Server-Side Rendering For Client-Side Apps

We want the convenience of a client-side single-page application using our MV* framework of choice, but don't want to sacrifice the SEO and UX benefits of rendering the initial markup on the server. And while we're not here to trash on Node.js, we're also not ready to commit to an all-JavaScript tech stack. Here's our attempt to have the best of both worlds, all the while keeping duplication of logic or code between the front-end and back-end worlds to a minimum.

Read More

A Rebase-Centric Model of Collaborative Git Use

If you want to make sense of your git history more easily when you go back, try rebasing as you go. Rebasing while collaborating with others can get hairy quickly. But here's one way to make it work.

Read More

What's Old is New: Drop Caps in CSS

Using an emphasized initial letter is a technique that has been used for centuries. Let's dive in to see some ways you can apply it to your project to help guide your reader with visual hierarchy.

Read More

A Visit to the RESTful SPA

You can't always get away with a single-page app; sometimes you need server-side rendering. When you need both, here's one approach.

Read More

CSSConf 2016 Recap

It was a pleasure speaking at CSSConf 2016 in Boston! Here are some of my notes from the event – coverig everything from creativity and the Bauhaus movement to SVG 2 internals, React styles, CSS grid layouts, and custom properties (e.g. CSS-native variables). I included links to slides and video whenever possible.

Read More

Will CSS Grid Layout Enable Creative Design?

CSS Grid Layout is shaping up to be the layout tool we've always wanted on the web. How can we use it to start creating interesting layouts?

Read More

jQuery Chicago 2014

Five practical JavaScript coding takeaways from jQuery Conference Chicago 2014.

Read More

PostgreSQL Transactions and SQLAlchemy

SQLAlchemy defaults to implicitly opening a new transaction on your first database query. If you prefer to start your transactions explicitly instead, I've documented here my explorations in getting that to work.

Read More

Your Own Damn [Susy] System

Miriam introduced Susy Two at The Mixin meetup in San Francisco, and then recorded a version of the talk just for you. This is a great introduction to Susy, and the philosophy behind it.

Read More

Susy Next: Alpha 5

Susy Next alpha 5 is out, and loaded with changes. We now require Sass 3.3, we no longer require Compass, and there have been major syntax improvements. We're getting real close to launch, and we'd love to know what you think. Play around, and let us know!

Read More

Map-Set vs. Map-Merge

The difference between map-set and map-merge? Almost nothing.

Read More

Susy Next: The Second Alpha

I've just released the second alpha of Susy Next. Go download and play with it!

Read More

Isolation and Bleed in Susy

A few new features have landed in Susy 1.0.7, even as we work on more integrated syntaxes for 2.0. The isolate() and isolate-grid() mixins help you manage the worst effects of sub-pixel rounding, while bleed() helps you break items out of the box.

Read More

Off-Canvas Layout with Susy

The off-canvas layout pattern for responsive web design has been getting all the attention lately, and I've had several people ask how Susy One might play along. I'll show you how easy it is, and how much flexibility Susy can add along the way.

Read More

Let’s Build Something Together!

We want to hear all about your software ideas. Fill out our contact form, join our public Slack chat, or tweet @oddbird to start the conversation.