Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(3 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

Development Forum

Two Technnologies


You must be signed-in to post.

AuthorSubject
  Page: 1
swidnikk
Subject: Two TechnnologiesQuote this post in your reply
I may use the following two technologies for a module I'm developing and just wanted to introduce them here for any consideration/thoughts/feedback.

PureMVC which is a simple MVC framework originally for the Flash/Flex community but recently ported to PHP.

POG www.phpobjectgenerator.com/ - generates PDO database abstraction layer so that just by saving a class object, it gets written to the database.

Thanks.
Posted: 2008-05-11 18:07:30
greg

Avatar for greg
Subject: Re: Two TechnnologiesQuote this post in your reply
sounds interesting.

What will your module do?
Posted: 2008-05-12 09:01:15
swidnikk
Subject: Re: Two TechnnologiesQuote this post in your reply
The module will be a repository (we spoke on the phone last week).

Using PDO though, will require at least PHP 5.1. Its possible to generate wrappers for earlier versions of PHP but I figure once we have thing working we can go back and look at any changes that need to be done for older versions.

As I'm still exploring the architecture of ATutor, is there any document you can point out that describes the system from a high level perspective?

Does ATutor already sort of implement an MVC pattern? If so, can you briefly explain how?

Thanks!
Posted: 2008-05-13 01:58:20
swidnikk
Subject: Re: Two TechnnologiesQuote this post in your reply
I looked at POG once more and it is possible to generate database wrappers for PHP4. We would just have to substitute one wrapper (PHP5) for another (PHP4). The structure of the code is identical, so it should just be a matter of which files are included.

I know that a database connection is already established in $db. I'm not certain how the POG database wrappers will coexist with this. We'll have to find out by experimentation I suppose smile
Posted: 2008-05-13 02:28:33
greg

Avatar for greg
Subject: Re: Two TechnnologiesQuote this post in your reply
Unfortunately were not familiar with POG, so it is difficult to say if there might be problems. The requirement is PHP 4.3, so everything would need to work under that version, though as an added module, you could choose just the support PHP5.
Posted: 2008-05-13 08:27:55
greg

Avatar for greg
Subject: Re: Two TechnnologiesQuote this post in your reply
No MVC patterns.
Posted: 2008-05-13 08:31:31
greg

Avatar for greg
Subject: Re: Two TechnnologiesQuote this post in your reply
Unfortunately were not familiar with POG, so it is difficult to say if there might be problems. The requirement is PHP 4.3, so everything would need to work under that version, though as an added module, you could choose just the support PHP5.
Posted: 2008-05-13 08:32:12
swidnikk
Subject: Re: Two TechnnologiesQuote this post in your reply
It seems that the two coexist just fine. During development, we are working with an external database for our repository.

I have created a wiki page to describe our efforts and will be updating it sporadically (and in the next few minutes) wiki.atutor.ca/display/atutorwiki/Content+Repository
Posted: 2008-05-13 09:30:54
nazar2k2
Subject: ThanksQuote this post in your reply
Hello
Thanks .it is a very greatfull tips.
Posted: 2009-12-09 08:29:22
 Page: 1

You must be signed-in to post.