互聯網技術(Web Internet)的發展史

簡介

互聯網技術(Web Internet)的發展飛快,轉眼間已到第四代。第一代叫web 1.0,即傳統的網站站主設定網頁結構及內容,向公眾發放自己的訊息。之後版本是資源平等的體現,叫 web 2.0,網站站主只提供一個網站架構, 而內容則由參與者上載, 如youtube, facebook, xanga,使用如AJAX的技術。進而 Web 3.0,該詞包含多層含義,用來概括網際網路發展過程中可能出現的各種不同的方向和特徵,包括:大數據、物聯網,將網際網路本身轉化為一個泛型資料庫;跨瀏覽器、超瀏覽器的內容投遞和請求機制;人工智慧技術的運用;語義網;地理對映網;運用3D技術搭建的網站甚至虛擬世界或網路公國等。Web 3.0的顯著特徵為擁有10M的平均頻寬,而2.0約用1M,致於1.0 約為96K以下。今後的發展,為 web 4.0,智能化機械、生物科技…等,可能正如電影Matrix所言,做成”天網”的電腦智能系統,希望電腦不會控制人類,走著看吧。

read more

Setup Django WorkFlow Application

Introduction

Recently, I studied how to setup a work flow program using python django. Believe me, Python Diango can provide you a high quality work flow web application. Let’s say I would like a simple workflow application as below diagram. I will show you how to setup the application as below instruction, and I will also show you the screen dump examples of running the application.

Step 1. Prerequisition

This Work Flow Program requires Python 3.3 or greater, and django 1.6 or 1.7. I recommend you to setup under virtual environment. Setup the following python plug-in by running the following command:

read more

Prometeo-ERP System (An Open Source ERP System)

Introduction

Recently, I found a open source ERP application project which was developed by python and django framework. Prometeo is absolutely an open-source and free of charge. It is very user friendly and user-oriented, too.

Installation

1. Checkout sources from the GIT repository:

git clone https://emanuele.bertoldi@code.google.com/p/prometeo-erp/ prometeo

http://code.google.com/p/prometeo-erp

https://code.google.com/archive/p/prometeo-erp/

https://code.google.com/archive/p/prometeo-erp/source/default/source

2. Follow the instructions in the README file from the download.

read more

Steps to Install Django-cms in Raspberry Pi

Introduction

django CMS is a modern web publishing platform built with Django, the web application framework “for perfectionists with deadlines”. Django CMS offers out-of-the-box support for the common features you’d expect from a CMS, but can also be easily customised and extended by developers to create a site that is tailored to their precise needs. The following will show you how step by step of Django CMS installation, and also with screen dump examples.

Installation Steps

start a virtual environment under Raspberry Pi
1.  sudo pip install virtualenv
2.  virtualenv env
3.  sourse env/bin/activate

read more

Conduct a Range of ip Network Address Ping using Python

Intoduction

I would like to conduct a range of ip network address ping using python 3.5 script. It is easy. I will show you the python script and its screen dump result as below.

Python program script

# network ping program run for python3
# Import modules
import subprocess
import ipaddress

# Prompt the user to input a network address
net_addr = input(“Enter a network address in CIDR format(ex.192.168.1.0/24): “)

# Create the network
ip_net = ipaddress.ip_network(net_addr)

# Get all hosts on that network
all_hosts = list(ip_net.hosts())

read more