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

[Register]

Occasional ATutor release updates


No Members Logged In

(8 guests in past 15 min.)

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

Support Forums

Community Discussions

osCommerce integration...


You must be signed-in to post.

AuthorSubject
  Page: 1 | 2
humaneasy
Subject: package availability...Quote this post in your reply
Hi Jason,

Can you put the in-development package somewhere we can download it?

The development doesn't need to be stalled until you have time to resume it... and even if you don't have anymore time to work on it your credits shouldn't be removed.

You can add it here as an attachment to a post. If you do so , please, don't forget to turn it "Public" by selecting the apropriate radio button.

Thanks in advance for you cooperation.

Best,

Lopo
Posted: 2005-04-11 21:02:07
greg

Avatar for greg
Subject: Is your work availableQuote this post in your reply
Jason, can you make the partial work you've done creating an OSCommerce module available here. Others may be able to pickup where you left off if you can make the source code available. You can bundle it together and attach it to this forum thread.

OSCommerce would be a really nice tool to add to the ATutor 1.5 release. Time is getting short though for addition of new features.

If someone does pickup where Jason left off, please be sure to let us know. We'll try to help you along so we can include the module with the next ATutor release. A code freeze for ATutor 1.5 will likely come about mid May 2005.

In reply to:
I have had to put development on pause due to other obligations at work. Open source programming does not pay as well as it should...ha ha.

Posted: 2005-04-17 10:42:47
rafairchild
Subject: Pay Pal Module tooQuote this post in your reply
Perhaps a PayPal module might be a nice intermediary step as well?
Posted: 2005-05-26 06:27:52
Jason0071
Subject: Back to ATutor for a bit...Quote this post in your reply
I will moving back to ATutor for a while now...has anyone made any progress on implementing an eCommerce program into ATutor while I was away?

I had to stop previous development due to enterprise web issues and numerous other issues. I saved my work though...I should resume soon for any who followed this thread.

Jason
Posted: 2005-05-26 13:31:34
greg

Avatar for greg
Subject: 1.5 release quickly approachesQuote this post in your reply
I've not heard from others working on an eCommerce module, so I think you can safely pickup where you left off. Double check with humaneasy perhaps.

An update on progress: we've passed the new feature freeze for the coming release, the first internal release candidate will be available here next week, the second a week or two later, and the final release early July. If you want your module to work with ATutor 1.5, any hooks that might be required to allow the module to run with ATutor we need to know about right away.

Or, you can develop an indepedant module with installation or modification instructions, or work toward including your module with the Sept/Oct 2005 release.

Also make sure you are working with the current code and a properly setup SVN environment. See the developer doc if you need assistance.

Glad to have you back
Posted: 2005-05-26 13:52:12
humaneasy
Subject: osCommerceQuote this post in your reply
Hi Jason,

Glad to have you back smile

I was waiting that you resumed development or made available your code so we can test it and help you in your efforts.

Can you put the code somewhere for us to test?
Can Greg help in puting some sort of environment for Jason to work if he needs it?

Waiting to hear from you soon.

1, Lopo
Posted: 2005-05-26 18:43:46
Jason0071
Subject: When I have some sort of working model I willQuote this post in your reply
When I have completed a working model I will.

So far, I feel as if the code is unorganized and should be organized into a class, or some sort module that can be added easily to ATutor. I have not examined development documents for ATutor therefore this may take a bit. I do have a few questions involving greg's post:

1) What is a hook?
2) Does SVN stand for server?

I will download the newest ATutor to finish development with. One thing I remember agonizing over a month and a half ago was session variable's and the use of cookie's. I had ironed out most of it, but there was something that was still left to do. I will start looking at code again sometime next week.

Jason
Posted: 2005-05-27 11:55:33
greg

Avatar for greg
Subject: SVN is like CVSQuote this post in your reply
SVN is a short form for Subversion, which is the next generation of CVS. If you are developing for ATutor you do need to develop in an SVN environment (this is very important). Do not develop using a downloaded version of ATutor. The code changes so rapidly that a download will become outdated often within hours or days. Once you have your SVN environment setup, make sure to run the "svn update" function often so you are always working with current code.

See the ATutor developer documentation for instructions on setting up an SVN development environment. If you know how to use CVS, you'll have no trouble learning to use SVN.

By hook I mean any key variables that might be set to turn oscommerce on/off or control oscommerce settings, or a function or class that integrates ATutor and oscommerce output with each other etc. It might be whatever links oscommerce into the ATutor system. I'm not sure what your plan is, so there may not be any hooks required.

Its probably best if we make plans to include your module in the Sept/Oct release, rather than trying to rush it into the current release. We are also talking about creating a module linking system, which you may be able to take adantage of, though that's still a couple month away. We'll update you on the module tool when we have more info available. You can still continue developing.
Posted: 2005-05-27 12:17:15
Jason0071
Subject: I have heard of CVS...Quote this post in your reply
Concurrent version system or something like that. I'll look into using it, and review some of the development documents.

Thanks greg,

Jason
Posted: 2005-05-27 13:29:33
Jason0071
Subject: You can check out what I've done so far...Quote this post in your reply
Go to www.financialworkshops.com and click on the main logo in the header to be redirected to ATutor. It's maybe a third of the way done with numerous bugs and crap to iron out besides session stuff which should be almost done...

Register a user if you want...osCommerce will handle that. Log in and log out functions are handled via ATutor right now and the osCommerce install is the basic install. Nothing special to see yet, just a system that's a thrid of the way completed.

Jason
Posted: 2005-05-27 14:06:06
Jason0071
Subject: Correction...sorry that's www.financialworkshops.infoQuote this post in your reply
www.financialworkshops.info
Posted: 2005-05-27 14:07:24
Jason0071
Subject: SVNQuote this post in your reply
I have read briefly about SVN. I should have no problem installing the packages on a server and setting up the environment. How exactly does SVN work?

Using this set of libraries it looks like I can run commands from the server to access the ATutor SVN server to check for ATutor codes updates...in general. I would assume you can automate the update process using SVN specifically WebDAV. I think I will need the IP or HTTP address of your SVN server and any credentials. I should be able to have SVN installed and running as a client sometime next week.

Greg can you help in this process? I have only read in general about SVN and briefly summarized...I really don't know much about it.

Jason
Posted: 2005-05-27 16:11:02
greg

Avatar for greg
Subject: Four SVN command is all you need to knowQuote this post in your reply
Once you have SVN setup, create a directory where your development environment will reside (i.e your sandbox), somewhere under your Web document root, then checkout the souce code. I generally create a directory call atutorsvn/ then checkout the code into that directory so I end up with atutorsvn/docs/.

checkout:

>svn co http:/ / atutorsvn.atrc.utoronto.ca/repos/atutor/trunk/docs

Follow the instructions in the developer documentation to install ATutor from an SVN checkout. You will need to create an empty include/config.inc.php file. Then after creating the config file, install ATutor as you normally would using the installer. You may then start developing your code within the sandbox.

At least daily, or before each development session, run the update command from within the docs/ directory of your sandbox to get any new code that has been added to the repository. You can also run the update command from within any directory in your sandbox to update just the code in that directory.

update:

>svn update

For the timebeing you will not be able to commit your code back into the repository. Once your module is together, make it available on the Web somewhere (you may want to do this from the beginning) so we can try it out. Assuming the module functions well, we will then create a branch in the repository where you can add the files, then commit them into the repository and continue working from your own branch. We will create an account for you then. Once the module is commited and finalized (stable), we will merge your branch into the trunk to be included with the primary code.

add files:

>svn add filename

commit files:

>svn commit

Try to keep your development limited to a single directory if you can. If you need to make changes to other files, let us know before you do so we can minimize the likelihood of conflicts, where your code and the trunk code are both changed. While conflicts a generally not a problem, the fewer there are the easier it will be to merge your code into the trunk.

Also keep track of any changes you make to the ATutor database for your module, so they can be added to the install and upgrade scripts. Keep track of all language you add so it can be added to the language database. Assuming you are using something like phpMyAdmin, you can dump the table structures and language from there, send them to us, and we will manually add them to the trunk and lang db.

There's a lot more to SVN than the above four commands, but they should be enough to get you by. I suggest you spend some time with the SVN documentation, to learn about other functionality. Also be sure to read through the ATutor developer documentation thoroughly to be sure your code will meet our standards.

You can access the repository via WebDAV from the link on the ATutor development site.

www.atutor.ca/development/index.php

Keep in touch while you develop. If you need help, feel free to ask.
Posted: 2005-05-27 17:36:14
greg

Avatar for greg
Subject: Move this dicussion to the Development forumQuote this post in your reply
Continue this discussion in the Development Forum so other developers can participate.

www.atutor.ca/forum/12/1.html
Posted: 2005-05-27 17:46:20
Telejoke
Subject: PayPal and the commerce moduleQuote this post in your reply
I've been following the oScommerce thread and was wondering if this mod will be compatible with PayPal...or if not whether anyone has done a mod that will integrate ATutor with PayPal.

Regardssmile
Posted: 2005-06-11 10:54:04
 Page: 1 | 2

You must be signed-in to post.