background preloader

Web Development

Facebook Twitter

JS Bin. DownloadTheSoftware - modwsgi - Software available for download. - Python WSGI adapter module for Apache. Using mod_wsgi to Serve Applications on Ubuntu 12.04. Prerequisites Before starting on this article, be sure that you have gone through the previous 2 in this series. You can find them here: Installing Django on Ubuntu 12.04 Installing mod_wsgi on Ubuntu 12.04 Creating the Django Application: First of all, we will navigate to the home directory. Create a new directory and switch into it: mkdir -p ~/public_html/domain1.com cd ~/public_html/domain1.com After that, go ahead and create a project with the help of the django-admin.py tool. django-admin.py startproject MyTestProject Creating the Virtual host & WSGI file: To serve a Django app properly, it is important for Apache to know that it is supposed to forward certain types of requests to mod_wsgi.

Sudo nano /etc/apache2/sites-available/domain1.com Next, enter below definition for the virtual host: <VirtualHost *:80> ServerName domain1.com ServerAlias www.domain1.com WSGIScriptAlias / /home/username/public_html/domain1.com/MyTestProject.wsgi </VirtualHost> Type in the following configuration: Teach the Web. Week 9: #teachtheweb #4life MAKE Project this week: Become a Webmaker Mentor. Create a portfolio of your Teach the Web work and apply for the Webmaker Mentor Badge. Include your posts to the #teachtheweb community, event documentation and notes on how you will continue to teach the web. more → Week 8: Make it Real MAKE Project this week: Make an invitation for the people you care about to explore the web with you. Let yourself be inspired by feedback from the playtesting round, and think about how to #teachtheweb in a way that speaks to your participants’ interests. more → Week 7: Playtesting MAKE Project this week: Try out your activities from last week on friends, family members or group of learners, then create a make (or several makes) that reflects on that experience.

Week 6: Peers Working in the Open MAKE Project this week: Use remix as a form of constructive criticism. Week 5: Webmaking as Learning Week 4: Add the Web to Anything Week 3: the Open Web Other Makes to try: Is this for me? #teachtheweb Remix and Contextualize. Welcome to the second part of #teachtheweb! For the next three weeks we'll look at how to Remix and Contextualize the web and educational resources into projects that center on a learners interests.

We will learn how to adapt educational resources to address those topics that you care about, while using the web as a platform for creation. First, we will explore the topic “Add the Web to Anything“. In this topic, we'll take a look at the Web Literacy Standard and explore how those competencies can be explored in tandem with other knowledge. We'll inspire #teachtheweb learners to identify the skills and topics that are important to them and then find ways to add in the web. Start time: Duration: 1 hour 1 minute Sign in so you can help adding tags to this event Views since archived: 708 Small (640x380)Big (896x504) WebM (HD) , Mpeg4 (HD) To download, right-click and select "Save Link As... " Dabblet.com. Unbeatable JavaScript Tools - The Dojo Toolkit.

Best Practices for Speeding Up Your Web Site. The Exceptional Performance team has identified a number of best practices for making web pages fast. The list includes 35 best practices divided into 7 categories. Minimize HTTP Requests tag: content 80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc. One way to reduce the number of components in the page is to simplify the page's design. Combined files are a way to reduce the number of HTTP requests by combining all scripts into a single script, and similarly combining all CSS into a single stylesheet. CSS Sprites are the preferred method for reducing the number of image requests.

Image maps combine multiple images into a single image. Inline images use the data: URL scheme to embed the image data in the actual page. Reducing the number of HTTP requests in your page is the place to start. Top | discuss this rule Use a Content Delivery Network tag: server tag: css. Minimize request overhead - Make the Web Faster.

Every time a client sends an HTTP request, it has to send all associated cookies that have been set for that domain and path along with it. Most users have asymmetric Internet connections: upload-to-download bandwidth ratios are commonly in the range of 1:4 to 1:20. This means that a 500-byte HTTP header request could take the equivalent time to upload as 10 KB of HTTP response data takes to download. The factor is actually even higher because HTTP request headers are sent uncompressed. In other words, for requests for small objects (say, less than 10 KB, the typical size of a compressed image), the data sent in a request header can account for the majority of the response time.

The latency can be higher at the beginning of a new browser session. The best way to cut down on client request time is to reduce the number of bytes uploaded as request header data. Minimize request size Overview Details Ideally, an HTTP request should not go beyond 1 packet. Recommendations Back to top Example. Standardista.

Frameworks

Adobe/brackets. Javascript. HTML.