Archive for the ‘open source’ Category

How to Recover Grub in Ubuntu after Installing Windows XP. Part2

Wednesday, January 20th, 2010

This is the Part 2 of How to Recover Grub in Ubuntu after Installing Windows XP. Part1, in the previous article, we have discussed how to recover Grub version 1 after Installing windows, but there is another version of grub – Grub Version 2, recovering this version of grub will be slightly different from configuring Grub Version 1. Let’s just begin how to Recover Grub version 2. Read more to find out how to.. Continue reading “How to Recover Grub in Ubuntu after Installing Windows XP. Part2” »

Date Time Zope – How to Access Zope Date Time API?

Thursday, January 7th, 2010

What is Date Time API?

Zope has provided Zope API since allowing user to importing Python External API is considered dangerous for security reason. One of Zope APIs is DateTime, this API can handle most of Date and Time processing.

How to Access Zope Date Time API>

Zope DateTime API is automatically imported so that you don’t need to import this API any more.

  • How to get current month.

    return DateTime().month()
  • How to get current year.

    return DateTime().year()
  • How to get year from user Specified date.

    return DateTime("2009/1/7").year()
  • How to get month from user Specified date.

    return DateTime("2009/1/7").month()

What is Zope?

Tuesday, January 5th, 2010
Zope

Zope

What is Zope?

Zope is a free, open source, object oriented web server. To understand what zope is, one can imagine zope as a programming language just like Java, C, C++, python. Zope is written in Python Programming Language, so the environment in programming zope program will be python like. Zope is a very complex frame work, zope combine python, DTML, HTML, SQL, javascript, CSS. So that one must skilled on those languages in order to be a zope programmer.

What Zope can be used for?

Since Zope combine the advantages of many frameworks, Zope can be used for almost all kinds of individual and company needs, such as

  • Enterprise Resource Planning (Management System)
  • Virtual Hosting
  • Forum
  • Cash Register
  • Community Website
  • Blogging
  • And much more.

What is the Technical Features of Zope?

  • Zope is composed of objects in Database as opposed to files, is as usual with other web server.
  • Zope maps URL to object using containment hierarchy of such objects.
  • Files are treated the same as Python Functions.
  • Function in Zope can also be called using URL, just like accessing files in web server.
  • Zope provide DTML (Dynamic HTML) that combine both HTML and Python, so the content of HTML files will various depending on what python function return.

What It Takes to be Zope Programmer?

Actually to be a Zope Programmer, we don’t have to master every framework that zope implement, we just have to know what every part of zope be used for. Most of programming in Zope will be in Python Language, but most of the library will be provided by zope.