community.egroupware.org: Community wiki

  
Community wiki
Code Corner
Authors: Klaus Leithoff, Hadi Nategh

I and one of the guys at the office had one of those smart ideas and decided to move from "User" to "Developer" status. You know.. one of those "It can't be all that difficult" smart ideas. Being basically lazy; the prospect of plowing through 400,000 lines of code was just too much like hard work. So we caught Ralf on a good day and talked him into get us started. This is an informal record of what happened. Warts and all...

Content

Code Corner
  1. day one
  2. day two
  3. day three
  4. a day in between
  5. day four
  6. day five
  7. day six
  8. day seven
  9. day eight
  10. Session Types/Autoloading
  11. Make use of your customfields
  12. How to port an app to et2?

How to get started


eGroupWare is a multi-user, web-based groupware suite developed on a custom set of PHP-based APIs. Currently available modules include: email, addressbook, calendar, infolog (notes, to-do's, phone calls), content management, forum, bookmarks, wiki, and still growing.

Enviroment

eGroupWare runs on top a php enabled webserver and needs a database to store its data.

The easiest way to get this, is to install the XAMP software package which is available for Linux, Windows, Mac and Solaris.
This is all you need for a standard installation

eGroupWare is extremely flexible, and so there are many optional dependencies for more enhanced installations. The dependecies are categorized below.



If you want to join the project, and want to help developing e-Groupware, there is more to it, then just downloading the files via sourceforge. This is documented in the SubVersion section of this WiKi. This means you need a copy of SubVersion.

How to get SubVersion

The Subversion™ project does not officially endorse or maintain any binary packages of the Subversion software. However, volunteers have created binary packages for different distributions and platforms, you can find links on the http://www.Tigris.org web site.
Check here for a list of the most important Subversion add-ons and where to download them.
If you are interested in building Subversion yourself, go to the Subversion pages on http://www.Tigris.org to download the source code.

I went for a copy of Tortoise on a Windows-Client. I guess any other choice will do.

Trying out Subversion and Tortoise SVN on a single machine

A good way to get your feet wet with Subversion is to try it out on a single machine. Svn1ClickSetup is an Open Source project on Tigris.org that simplifies the process of setting up Subversion and your first repository on a Windows-based computer. Svn1ClickSetup takes a user through the steps necessary to install the Subversion command-line utilities and TortoiseSVN, the client that integrates with the Windows™ shell. The installer also takes you through creating a repository and initial project. The whole process takes only minutes. Download the installer from Tigris.org. You may use http://tortoisesvn.net/downloads .

Sourcecode

Since you want to run the application, you need the sources of the project.
Download those, copy them into the Root Document Folder of your Apache Web-Server (if you have used the XAMPP Installationroutine, it will be the xampp\htdocs directory.

If your WebServer? is running, and your database is up and ready, you start with settig up eGroupware. Open your Browser, connect to your webserver, choose the eGroupware application folder and pretty much follow the instructions. If there is nothing, you will start with the setup. Follow the directions, eventually you will end up with a running eGroupware
instance.

With this all set up, we went straight into day one of our training session.


Hello World

refining our first application

first steps into eTemplates

we had a couple of days to rest and review what we had accomplished by then

connecting with the database

reading from the database, eTemplate and the widgets (grid/nextmatch)

Adding the action menu on the NextMatch widget.

How to call popup window; adding links and attachments widget, Customfield widget.

How to work with ACL (Access Control Level), and apply the permission on our application.

Here comes some ?experimental? wiki stuff - linking pictures, to this article
a picture of leithoff - Klaus LEithoff, this article's author
who is employed by Stylite
a picture of RalfBecker (our tutor)
Ralf


Code Corner
You are here