Home » Web Dev » Page 27

Web Dev

Render Markdown in Rails with Redcarpet and SmartyPants

Rendering Markdown in your Rails app is pretty simple, thanks to the Redcarpet gem. We’ll set up a helper to render markdown in our views.                     First, add the following to your Gemfile and then run bundle install: Now, let’s create a helper to render markdown in our views: The ||= ...

Read More »

Interactive REST hacking with Sublime Text and RESTer

Do you ever miss a command line to a web application? If you’re lucky, you may use a REST API with appropriate tools for the same job. This Christmas, I bought a Sonos system for our family. It’s a wireless speaker system that uses music streaming services. It supports both Spotify and Deezer, but works better with Deezer and it ...

Read More »

How to write effective and SEO-friendly blogs?

Everybody around you seems to be blogging and talk about effective and SEO-friendly content. You get all of this but don’t know how would you write SEO-friendly content. Where do you start? And what to blog about? How to structure content so that it shows up on Google SERP and drive traffic to your blog. If you are interested in details, read ...

Read More »

An Introductory Analysis of CoffeeScript

For the last six months, I have been working a project that exclusively uses CoffeeScript for both the front end and back end. That being said, I have had a lot of CoffeeScript on my mind lately! This blog post will examine some of the pros and cons related to features of CoffeeScript and, hopefully, provide insight into whether CoffeeScript ...

Read More »

Always in view paradigm in web

I was thinking about writing the next post in my blog and remembered one well-known paradigm I used in my completed web projects. The paradigm is to show current element(s) to be navigated always in view, that means visible. You know, a classic web application can have a long content causing scrollbars in browser. For instance, a vertical scrollbar means ...

Read More »

Developing stateless (session-less) web apps

Almost all of the web apps we build nowadays (at least on the circles I usually move around) rely on the beloved and hated session. This artifact, providing a stateful user wide storage, allows us to relate several HTTP requests together and thus implement the concept of authenticated and secure web applications, that “know” who is using them several requests ...

Read More »

PHP vs node.js: The REAL statistics

When it comes to web programming, I’ve always coded in ASP.NET or the LAMP technologies for most part of my life. Now, the new buzz in the city is node.js. It is a light-weight platform that runs javascript code on server-side and is said to improve performance by using async I/O. The theory suggests that synchronous or blocking model of ...

Read More »

Direct Server HTTP Calls in Protractor

When you’re running end-to-end tests, chances are that sometimes you need to set up the system before running the actual test code. It can involve cleaning up after previous executions, going through some data setup “wizard” or just calling the raw server API directly. Here’s how you can do it with Protractor. Protractor is a slick piece of technology that ...

Read More »