7 replies [Last post]
japerry@drupal.org's picture
Offline
Bug FinderGetting busy with the Ubercode.Not Kulvik
Joined: 08/08/2007
Juice: 248

Heya boys and girls! After a day of doing drupal 6 conversions, I've released my first converted module: TAPIR!

Now I have no idea if it actually works as described, since no modules dependent on it work yet, but I'm fairly certain it'll work. Take a look, and mark it down as alpha code.

Next one is uBrowser!

Some people were asking why I'm doing these modules if they'll be depricated with ubercart 2? Well its obvious a new alpha of ubercart 2 won't be done by the end of april, so the D6 version of Ubercart 1 will still have the same dependencies. Plus, the conversion is good practice for when it comes time to convert ubercart.

Also, since there was no changes done to the module, aside from conversion, its version number stands at 1.5

PreviewAttachmentSize
tapir-6.x-1.5.tar.gz9.16 KB
daouverson2's picture
Offline
Joined: 10/20/2008
Juice: 38
why not posted at drupal.org?

I noticed that 3 of the 4 required contrib modules are not yet available. I'm glad to see TAPIr is on the way and that others are being worked on.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6841
Re: why not posted at drupal.org?

Actually, most of the required contrib modules are being changed or dropped for Ubercart 2.0. TAPIr in particular has been folded into uc_store so it's not a separate module anymore.

At this point, Ubercart 2.0 only requires Token to be installed. There are optional features that integrate with Views, CCK, Imagefield and Imagecache.

daouverson2's picture
Offline
Joined: 10/20/2008
Juice: 38
Thanks for the update

Thanks. I'll give it a whirl.

CpILL's picture
Offline
Early adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/08/2007
Juice: 549
wOT?! No TAPIr in D6 :((

Man, I was really into it. Making tables sucks without it! I was just about to use it on in an unrelated module Sad

What was the advantage of "folding" it into Store? Surely keeping the two separate would allow independent development on ether. Smaller code bases are easier to maintain, aren't they?

Uberdevelopment www.tsd.net.au/blog

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6841
Re: wOT?! No TAPIr in D6 :((

Honestly, we didn't think anybody was using TAPIr except as a requirement for Ubercart. One of the things we wanted to improve in Ubercart 2 was to reduce the number of dependencies needed to install it, and TAPIr was one of those.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15422
Re: wOT?! No TAPIr in D6 :((

Yeah, the primary advantage was just to remove the dependency. However, I don't suppose there's any reason someone couldn't just take the implementation (it's even in its own .inc!) and make that the new version of TAPIr. I'm happy to pass the module on to whomever wants to do that.

CpILL's picture
Offline
Early adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/08/2007
Juice: 549
Hey, Having more module

Hey,

Having more module dependences means that more of the code is encapsulated and reusable and these where "good" qualities for code (or so they told me at University).

Anway, I found that I could reuse the TAPIr function by calling it multiple times with the appropriate $op and feed it directly into Drupals theme('table', ... ) function. I guess it works the same the all the table functionality is in one function.

I guess TAPIr made it nice by making one function call and making each table configurable, which is a nice thing. Would be more exciting if you had a DHTML popup link attached to each table in the front end (if you were admin) and you could edit the table properties then save via AJaX(!)... but I think Drupals is a few versions away from streamlining anything like that Sticking out tongue

Still, you can't do that with theme('table', ... ) alone.

just thinking out loud..

Uberdevelopment www.tsd.net.au/blog