4elements, web design and consultancy

  1. How to Use OmniAuth-Twitter in a Rails Application

    In this tutorial, you will learn how to allow users of your application to log in using their Twitter account. Doing this has been made easy with tools such as OAuth.You will make use of OmniAuth-Twitter, which contains the Twitter strategy for OmniAuth.Let's dive in!Getting Started Start by generating your Rails application. From your terminal, run the command to do so:rails new…

    0 Comments

    Leave a comment › Posted in: Daily

    1. Uploading Files With Rails and Dragonfly

      Some time ago I wrote an article Uploading Files With Rails and Shrine that explained how to introduce a file uploading feature into your Rails application with the help of the Shrine gem. There are, however, a bunch of similar solutions available, and one of my favorites is Dragonfly—an easy-to-use uploading solution for Rails and Rack created by Mark Evans. We covered this library…

      0 Comments

      Leave a comment › Posted in: Daily

    1. Making a Sliding Side Navigation Menu for Responsive Designs

      In this tutorial, you will be creating an expandable side navigation menu with JavaScript and CSS. The final product will appear as shown below:The MarkupTo get started, let's add some markup for our side menu: <div id="sideNavigation" class="sidenav"> <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a> <a href="#">About</a> <a…

      0 Comments

      Leave a comment › Posted in: Daily

    1. Building With the Twitter API: Creating Friends to Follow

      What You'll Be CreatingWelcome! I know it's been a while since I added to our Twitter API series. I've been kind of busy. First, there was the brain tumor, then the robotic radiosurgery, then the ongoing Yii Programming Series and its related startup series and finally, the launch of Meeting Planner.I decided to write today's tutorial using the Twitter API for creating friends (what…

      0 Comments

      Leave a comment › Posted in: Daily

    1. Building Your Startup: Running Multiple Domains

      What You'll Be CreatingThis tutorial is part of the Building Your Startup With PHP series on Envato Tuts+. In this series, I'm guiding you through launching a startup from concept to reality using my Meeting Planner app as a real-life example. Every step along the way, I'll release the Meeting Planner code as open-source examples you can learn from. I'll also address startup-related…

      0 Comments

      Leave a comment › Posted in: Daily

    1. Using the Requests Module in Python

      Requests is a Python module that you can use to send all kinds of HTTP requests. It is an easy-to-use library with a lot of features ranging from passing parameters in URLs to sending custom headers and SSL Verification. In this tutorial, you will learn how to use this library to send simple HTTP requests in Python.You can use Requests with Python version 2.6–2.7 and 3.3–3.6. Before…

      5 Comments

      Leave a comment › Posted in: Daily

    1. Acuity Scheduling Developer Platform: OAuth, Webhooks, and Reporting

      What You'll Be CreatingAcuity Scheduling's Developer Solutions Welcome to the third episode in our series on Acuity's developer-friendly scheduling and booking platform. In prior episodes, we provided a general introduction to its calendar booking and appointment service and Acuity's embedding, developer API and integration services.Today, we'll continue coverage of Acuity's developer…

      0 Comments

      Leave a comment › Posted in: Daily

    1. Decoding the Proxy Class in OpenCart

      More often than not, we take things for granted. If something is working as expected, we don't bother about the inner workings of it to understand the underlying mechanism. Or to put it another way, we don't dig into something until we're in some sort of trouble!Similarly, I was always wondering about a couple of concepts in OpenCart that were used in the underlying framework, and one of…

      0 Comments

      Leave a comment › Posted in: Daily

  • Page 1 of 2 pages  1 2 >