: I want to do some stuff with PHPiCalendar but...


singingcrow
Jan 24th, 2007, 10:50 PM
Hello!

I just downloaded PHPiCalendar so I can put it on my webite, but first I want to majorly tweak it so it becomes what I really want. As it is I am not able to upload it to my website yet. Since I'm getting new hosting in March I thought I'd have everything ready for then, including my new website!!!

Sooooo, my question is how do I view the results of my work? Do I have to use Apache and install something like MyPHP???

Any clue will be helpful.

Thank you!

macpablo
Jan 24th, 2007, 10:59 PM
you should already have apache on your mac. it would be a folder called site on your hd.

here is a link for some install info

http://www.phpmac.com/browse.php?type=tut&cat=2

singingcrow
Jan 24th, 2007, 11:40 PM
Thanks MacPablo!

That means installing the developer tools off the disk? and probably mySQL since I want it to work with that too... unless this is installed automatically. This site says Apache 2 doesn't come with Tiger, yet your post suggests otherwise. Can you clarify?

Whatever you answer will be fine. I'm geared up for the challenge. I actually installed all this from source on Jaguar a couple years ago, and I know some of this is simple click click click and your done now! Oh! Also if I remember correctly, I should install MySQL before PHP??? Yes?... No???


Nice photos by btw!;)

macpablo
Jan 25th, 2007, 12:02 AM
I just installed apache 2, php4, and mysql, a little while ago. I use it to work on stuff before uploading to server. Works great, saves alot of time.

http://www.macdevcenter.com/pub/a/mac/2001/12/07/apache.html

Here is a link that my help you get going in the right direction.

Thanks my page is still a work in progress, It's hard to design for yourself :)

singingcrow
Jan 25th, 2007, 09:51 AM
A few more questions, before I waste more of my time, and potentially more of yours and others' in the future:

If you just installed it, why did you use PHP 4 and not PHP5? Is there something PHP4 had that runs soother or something? Since I'm not using Apache to host, but to view, would you recommend I upgrade to Apache 2? Why did you, if you're using it for the same thing?

Like what about something like MAMP (http://www.mamp.info/)?

Thanks!

Oh! and for those designing there own website, I actually found the Apple Developer's site to be very helpful.
http://developer.apple.com/internet/

macpablo
Jan 25th, 2007, 11:00 PM
I don't have 10.4, patiently waiting for 10.5, that's why I didn't install php5.
I installed apache 2 because I could, simple as that, no other reason for that one. :)

"Like what about something like MAMP (http://www.mamp.info/)?" I believe that whatever you find the most easiest to use, use it. I have not seen that program(s) yet, Thanks for the link, I am going to check that out.

singingcrow
Jan 26th, 2007, 12:34 AM
Ahh! It all makes sense now.

Now if you, or anyone else, can direct me with this I'll be all set and greatly appreciative....

What I want to do is set up PHPiCalendar and use it as my base in an online appointment scheduling program. I'll have people sign in and make, pay for their appointments and be able to access their appointment history. Of course it will have an admin side and a front end side, with different views of the calendar. Being very new to PHP, other than a little tinkering a little while ago, I'm wondering if I can do all this with this. I also read a little about Ruby on Rails, which my new host supports also, and that looks like it would most certainly do the programming for what I need, and easily too. Since PHPiCalendar is obviously PHP based should I try to focus on using PHP only; is it possible, or can I combine the use of PHP and Ruby, or can I use Ruby exclusively for something like this?

I really like the looks and the base functioning of PHPiCalendar, and the fact that it can sync with a mac is a HUGE bonus.

So. whaddya think?

Danke.

dthompson101
Jan 28th, 2007, 01:00 AM
Why not look towards the direction that apple is going here:
http://ietf.osafoundation.org/caldav/index.html

Why not set that up instead:
http://sourceforge.net/projects/rscds

Another article fond here:
http://www.afp548.com/article.php?story=20060809100313543&query=caldav

My 2 cents anyways...

mguertin
Jan 28th, 2007, 03:30 AM
Adding web editable stuff to phpiCalendar is not a trivial task! There were a few failed offshoots of phpicalendar that did just that and last I saw none of them worked or were supported any longer.

If you don't need to do iCal integration directly you might investigate some appointment based php projects to start with as a base.

mguertin
Jan 28th, 2007, 03:34 AM
Why not look towards the direction that apple is going here:
http://ietf.osafoundation.org/caldav/index.html

Why not set that up instead:
http://sourceforge.net/projects/rscds

Another article fond here:
http://www.afp548.com/article.php?story=20060809100313543&query=caldav

My 2 cents anyways...

It will be neat to see it all up and running, but until then I'm going to avoid hacking up my own ;) I'll at least wait for iCal in Leopard. I built and tested from the afp548 instructions ... but without iCal it doesn't do me a lot of good besides that geek joy of "making it work" :)

Ottawaman
Jan 28th, 2007, 08:44 AM
http://trac.macosforge.org/projects/calendarserver

singingcrow
Jan 28th, 2007, 10:19 AM
Yes! Yes! Yes! I love this site! :clap:

Thank you all for you input. http://sourceforge.net/projects/rscds looks to be what I'm looking for, and I like the idea of http://spongecell.com/, however, as much as I might know, there's so much more I don't.

Since my current website is a template, I was not able to upload anything easily, nor place anything but html in it i.e. no forms, so this is where my extreme ignorance lies. I don't know how to place all this on the web.

All these projects talk of how to do it on my own server, but don't mention integrating it into my website on my host's server. If I was to use a calDAV project, or wait for Leopard, how do I do that. I don't want to be my own server.

Thanks for your patience! :)