webMyCal

February 28, 2006

Handoff

The latest sources can be found @ http://sourceforge.net/projects/webmycal/
The latest documentation is located @ http://webmycal.sourceforge.net/documentation/

Currently webmycal.pl accepts data from stdin and generates an html calendar. Internally it fills an array AoH with references to hashes of the events.

Filed under: webMyCal — Georgi Todorov @ 2:58 am

Some progress

While I was doing listevents() I tought that i will not need to calculate the reocurrance of the events for the monthly view. I was wrong. It turns out that I do need the reocurrance in all cases. So the next thing in the todo list is to parce the RRULE line in each event (if any) and use the informatin to build the events. I thing this is the last big milestone. Once reocurrance is implemented it will alow for generation of the different views of the calendar.
Stay tooned

Filed under: webMyCal, Backend — Georgi Todorov @ 12:44 am

Bug Fixed

OK, the problem was the following:
in the whie loop, at the end of each event, when a hash is pushed into the array, it is done by reference. At the end of the loop we have n references in the array, where n is the number of the events. The problem is that all n references point to the same place in memory because the hash is not reallocate on every iteration.
To solve the problem a deepcopy function was implemented. Now, insted of pushing a reference of the hash into the array, we send that reference to the function, it is deep copied (by values) into a new hash, and the new address is pushed into the array. At the end we have n different addresses in the array, which was the whole point of the game.

Filed under: webMyCal, Backend — Georgi Todorov @ 12:41 am

February 21, 2006

Status report

Hi everyone,
Current status of webMyCal:
We have implemented monthly() which generates a month of the calendar and calls listevents() for every day.
During listevents() implementation, a logical bug was found in @AoH (array of hashes) which holds the events, so currently we are working on that.
Soon we will have listevents() working and this will complete monthly().

Next step will be to get daily and weekly done.

here is the latest status presentation:
files/webMyCal_Presentation3.pdf in pdf format and
files/webMyCal_Presentation3.tar.gz in tar.gz keynote format.

Filed under: webMyCal — Georgi Todorov @ 11:54 am

February 14, 2006

Cascading Style Sheets (CSS)

  • CSS is a powerful, flexible way to specify HTML formatting.
  • Allow us to control the style and layout of multiple Web pages all at once.
  • With CSS, when you want to make a change, you simply change the style, and that element is updated automatically wherever it appears within the site.
  • CSS Demo

    http://www.w3schools.com/css/demo_default.htm
    Our CSS Styles

    “day” -> class for table in daily view

    “dailybody” -> class for in daily view

    “week” -> class for table in weekly view

    “weeklybody” -> class for in weekly view

    “weeklyeven” -> class for event in weekly view

    “month” -> class for table in montly view

    “monthlybody” -> class for in montly view

    Filed under: webMyCal, Frontend — Oscar Acosta @ 10:51 am

    Blog moved!

    While going trough the documentation on SF.net I noticed they now have mysql pre-approved. So I decided to move the blog over to sf.net.

    The new URL is :http://webmycal.sourceforge.net

    Thanks SF

    Filed under: webMyCal — Georgi Todorov @ 1:59 am

    February 12, 2006

    Pros and Cons of Keeping Written Records

    There is a difference between ability to do something and the need to do something. Everyone should be capable of understanding of why records need to be kept.
    Pros on Keeping Detailed Written Records

  • It is the only way you will keep your records.
  • If only based on memory, the records will be lost and forgotten.
  • Not keeping records leads to delays; just doesnt work. End up having to repeat the same mistakes.
  • the most important things to keep records of is of things not to do
  • Written records are incredibly valuable in terms of letting a project work effciently
  • They are desirable when there is one person involved; they are critical when having two person involved
  • Written records are a way of having people who no longer exist to provide information. It also allows replication, it allows you have the same project be done by someone else and get done again. Ex. Good open source kits have step by step instructions. This allows people to have desirable variations. Same thing on construction, people have instruction on building a colonial and a ranch. With good instructions, they can create a combination of the two.
    Cons of Keeping Written Records

  • There is a cost to creating records, time.
  • You are trying to get something done and you want to make sure that you have the knowledge, skills, etc.
  • There are tasks that don’t get documented
  • When getting something small done; people will not want to write records.
  • Must make the decision rationally, make a case for the decision you can make
  • There is a reason not to write detailed records, in business, there is something called business retention policy. Well run businesses destroy written records. There is liability for something that is done when you do not have records.

    Filed under: webMyCal — Oscar Acosta @ 11:25 pm

    February 9, 2006

    Blog on MCS

    webmycal approved on Sourceforge!
    http://sourceforge.net/projects/webmycal is the url.

    Filed under: webMyCal — Georgi Todorov @ 1:57 am

    February 7, 2006

    How To Make A Good User Manual

  • The user manual must take the user step by step.
  • From an overview of the system, to installation, and to using the program.
  • Everything must go against the code
  • Filed under: webMyCal — Oscar Acosta @ 9:37 pm

    webMyCal Presentation

    For the presentation, we (Georgi and I) will present the needs Analysis, feasibility study, system design, and the timeline.
    Needs Analysis

  • Getting the calendar files from the calendar application and converting that file to html
  • We also would like to have the features that a user would have in a calendar application, in the converted html version. For example, font color, font size, event color, alarms, etc.
  • Feasibility Study

  • We will use the iCalendar format used in rfc2445
  • We will also use existing iCalender to XML translators and rowspan tags in html for the events
  • Javascript + php for on-the-fly editing with a browser
  • System Design

  • Perl script for converting iCal file to html backend
  • Web interface as a front end
  • Timeline

  • Initial Design - Done on Feb. 6
  • Montly View - Feb. 14th
  • Weekly View - Feb. 21st
  • Daily View - Feb. 28
  • The presentation can be found at: http://mcs.dowling.edu/~terahz/POCS2/files/webMyCal_Intro.html

    Filed under: webMyCal — Oscar Acosta @ 9:30 pm
    Next Page »

    Powered by WordPress