How to Build a Responsive WordPress Theme with Bootstrap In this tutorial, we will learn how to make our own responsive WordPress theme using Bootstrap. Bootstrap is a responsive framework for building web sites and applications, and it’s a great starting point for building a responsive WordPress theme. Check out Zac’s other WordPress courses and enjoy a free, two-week trial of Treehouse. You don’t have to have built a theme from scratch before to successfully follow along. The theme we will build is based on the Basic marketing site example you can find over on the Bootstrap examples page. Custom homepage designAbout pageContact pageNews section with commentsA widgetized sidebar Getting Started Before we get started there are a few things you will need to do: Install WordPressDownload and Unzip BootstrapInstall the Theme Test Drive plugin* * You only need this plugin if you will be building the theme using a live site and don’t want people to see the new theme while you are developing it. Inside of that folder create a new file named index.php. <?
Creating a Single Page Todo App with Node and Angular Today we will be creating a very simple Todo application using the MEAN (Mongo, Express, Angular, Node) stack. We will be creating: Single page application to create and finish todosStoring todos in a MongoDB using MongooseUsing the Express frameworkCreating a RESTful Node APIUsing Angular for the frontend and to access the API While the application is simple and beginner to intermediate level in its own right, the concepts here can apply to much more advanced apps. The biggest things we should focus on is using Node as an API and Angular as the frontend. What We’ll Be Building Base Setup File Structure We are going to keep the file structure very simple and put most of the code for our Node application into the server.js file. - public ----- core.js ----- index.html - package.json - server.js Installing Modules In Node, the package.json file holds the configuration for our app. Now if we run npm install, npm will look at this file and install Express and Mongoose. Node Configuration Todo Model
Bootstrap Customization: Themes, UI Patterns and Tools Everyone loves Bootstrap, the front-end framework created by Twitter, because it’s easy to set up, it magically creates a responsive version, great for prototyping etc... Of course, its biggest defect is that it’s too visible. We can think of thousands of projects where the framework is clearly recognizable. What we’re bringing you today is a complete selection of themes, plugins, UI patterns and tools for customizing the structure and visual design of Bootstrap layouts. WrapBootstrap WrapBootstrap is a marketplace for premium Bootstrap themes and templates. by Matthew AdamsWe ran a retrospective of our first few Bootstrap-based HTML5/Javascript projects a few weeks back, and distilled some of the output into these top tips.Read the article
Ctrl Alt Geek » Tuto vidéo #1 : Découverte du bootstrap de twitter! J’inaugure aujourd’hui le premier tutoriel vidéo du site réalisé par mes soins. Il n’est pas encore dit que je fasse une série de tutoriels (même sur le #1 semble indiquer l’inverse ), mais c’est une facette que je n’ai jusqu’alors jamais testée. Il était donc temps pour moi de m’essayer à cette pratique pour vous faire découvrir aujourd’hui le bootstrap Twitter! Je me suis donc équipé de quelques logiciels (j’y reviendrai dans un prochain article) pour réaliser ce premier tutoriel vidéo, premier d’une longue série je l’espère! Késako? Le bootstrap Twitter, qu’est-ce? Il ne restera plus ensuite qu’à intégrer le design de votre site pour avoir un résultat très satisfaisant et propre! Ce kit permet également de réaliser facilement et rapidement un template correct et propre de votre site répondant même si vous le souhaitez à l’effet de mode « Responsive webdesign » (j’y reviendrai dans un prochain article). Présentation et découverte du bootstrap Twitter en vidéo!
Getting started Bootstrap (currently v3.3.6) has a few easy ways to quickly get started, each one appealing to a different skill level and use case. Read through to see what suits your particular needs. Bootstrap Compiled and minified CSS, JavaScript, and fonts. No docs or original source files are included. Download Bootstrap Source code Source Less, JavaScript, and font files, along with our docs. Download source Bootstrap CDN The folks over at MaxCDN graciously provide CDN support for Bootstrap's CSS and JavaScript. Install with Bower You can also install and manage Bootstrap's Less, CSS, JavaScript, and fonts using Bower: $ bower install bootstrap Install with npm You can also install Bootstrap using npm: $ npm install bootstrap require('bootstrap') will load all of Bootstrap's jQuery plugins onto the jQuery object. Bootstrap's package.json contains some additional metadata under the following keys: Install with Composer You can also install and manage Bootstrap's Less, CSS, JavaScript, and fonts using Composer:
Create Clean Webpages with Twitter Bootstrap Introduction Do you need to a lay out a webpage in a clean and straightforward way? Do you find yourself Googling how to deal with tabs, menus, popups, forms and other UI elements? Do you find other layouts and samples and end up ripping out the basics to get started? If so, then Twitter Bootstrap may be useful to you. It's a lean User Interface framework for building webpages that render consistently in desktop browsers, smartphones, tablets and more. Bootstrap is a very good framework to get a page up and running quickly - and provides plenty of advanced features. In this article, I'm going to show you how to get started with Bootstrap, and why you should bother. What're We Going To Use? We're going to be dealing with very basic code and only a few files - however, for the screenshots and example project I'll use Visual Studio 2012. Creating the Project Let's create an empty web project: We should have something pretty clean and lean, like so: <! This is the basic project structure. <! <! <! <!
Initializr - Start an HTML5 Boilerplate project in 15 seconds! Bootstrap HTML Helpers Download link: Introduction The guys over at Twitter have done a serious favor for developers worldwide with their Bootstrap framework. Update (2013.05.10) Note that the Bootstrap Helpers are now available as a Nuget package! Usage Here are some examples of the most useful of HTML helpers using the Razor syntax. Modal Dialog <a class="btn" data-toggle="modal" href="#myModal" >Normal Modal</a> @using (var modal = Html.Bootstrap().Begin(new Modal(new { id = "myModal" }))) { using (var header = modal.BeginHeader()) { <button type="button" class="close" data-dismiss="modal">×</button><h3>Modal header</h3> } using (var body = modal.BeginBody()) { <p>One fine body…</p> } using (var footer = modal.BeginFooter()) { @Html.Bootstrap().Button("Close", BootstrapNamedColor.Default, null, new { data_dismiss = "modal" }) @Html.Bootstrap().Button("Save Changes", BootstrapNamedColor.Primary, null) } } Tabs You could also place the tabs on the left or right. Carousel Sub Nav
10 Easy Steps to a Complete Understanding of SQL Too many programmers think SQL is a bit of a beast. It is one of the few declarative languages out there, and as such, behaves in an entirely different way from imperative, object-oriented, or even functional languages (although, some say that SQL is also somewhat functional). I'm writing SQL every day and embracing SQL with my Open Source Software jOOQ. I thus feel compelled to bring the beauty of SQL a bit closer to those of you still struggling with it. The following tutorial is destined for readers who have already worked with SQL but never completely understood itreaders who know SQL well but have never really thought about its syntaxreaders who want to teach SQL to others This tutorial will focus on SELECT statements only. 1. Get this into your head first. SELECT first_name, last_name FROM employees WHERE salary > 100000 Easy to understand. What do we learn from this? So if this is so simple, what's the problem? Forget about all that. 2. There are three things to note: 3. FROM a, b 4.