Hello,

do you have an api το export those statistics in other modules?

Comments

btopro’s picture

No but I'd definitely be willing to take the project in that direction. Possibly it could plug in with views and Views export if I understood views behind the scenes a little more. Never thought to do this but that would be very cool / useful for us moving forward, especially once I build our Drupal 7 system around network manager.

apanag’s picture

Super.

I am eager to help you out with the API. I am going to review yours code and to apply patches.
Do you think is it better to have an OOP approach or a function based?
Of course an advantage of an API is its ability to connect from external services, thus why i want to implement hooks from services module.

btopro’s picture

Services (while slightly unstable I've found on some sites) is definitely the direction things are trending. I'd implement a solution that taps into the power of services. A lot of sites are using it already and anyone in need of managing a ton of sites would have need for it.

This project could almost go away or be completely redone if someone had services running on all their sites. It's just the ease of setup is much greater with this module. Keep that in mind. One of the core missions of this project is simplicity. Export of data and what not is a great idea but Services should in no way be required in order for this project to work because it would start to pull things away from ease of use. That's part of why this project doesn't implement Drush even though it obviously would be very useful to do so for power users.

This as with that feature I'll accept patches that provide optional integration for advanced users.

apanag’s picture

I am thinking a second module, in which your API will be exposed as services.
So the ease of this module remains and its functionality extended via the second module. Of course it is possible to create a new project page and to become the maintainer of it, if you dont want to add a second module inside yours.

What do you think?

btopro’s picture

Status: Active » Postponed

I like the idea, are you suggesting that you'd write the 2ndary module? I could see a slight rewrite of the network manager exposing things via services hooks so it could be a plugin of that module. I'm going to have to rewrite this module somewhat for Drupal 7 so I'll look into it a bit more after I port it to 7 and 7 has a stable services module release.

apanag’s picture

Yeap i am willing to start the development of a second module.