Author Topic: Feng Office 2 - New documentation for Development  (Read 20226 times)

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Feng Office 2 - New documentation for Development
« on: March 26, 2012, 02:38:24 pm »
We have published some documentation regarding the Feng Office API that we have released, among the documentation for the new and improved plugin system.

API documentation
Plugin Engine

Chances are there are things to improve there, so please feel free to do it (it is Wiki content) or at least leave a comment with your thoughts.

We are pretty sure that you will be able to create tons of new plugins that will now be really easy to install on hot, so go  ahead with those and share them here in the forums if you wish too :)

Taking the opportunity, considering the Final has been released, it would be great if the application could be translated to other languages but English/Spanish. In case there are volunteers for this, we would greatly appreciate it as we do not speak fluently in other languages.
To those looking forward to helping us with this task, please post the new translations within your language section of the forum, and thank you very much!!

Greetings,
Francisco
« Last Edit: July 04, 2012, 11:47:26 am by franponce87 »
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

lexoyo

  • Freshman
  • *
  • Posts: 18
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #1 on: April 21, 2012, 06:20:31 am »
Hello
Can you please confirm that the API is not included in the current release of FO 2 ?
I have no api/ folder

lexoyo

  • Freshman
  • *
  • Posts: 18
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #2 on: April 24, 2012, 06:05:12 am »
I am sorry to insist, but is there a problem with FO forums?

lexoyo

  • Freshman
  • *
  • Posts: 18
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #3 on: June 14, 2012, 02:55:13 pm »
Bump... API v2 somewhere?
I am stuck with my mobile version only because of this...

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Feng Office 2 - New documentation for Development
« Reply #4 on: June 21, 2012, 06:21:32 pm »
The API can be found within application/controllers/APIController.class.php

Should anyone find something to improve in the Wiki, please feel free to do it! In case you do not have writing permissions there, drop me a PM and I will enable them.

Speaking of which, if anyone wants to contribute with Feng Office by developing a plugin or something, please contact me personally if you would like to team up.

Best regards,
Francisco
« Last Edit: June 21, 2012, 06:24:49 pm by franponce87 »
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

lexoyo

  • Freshman
  • *
  • Posts: 18
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #5 on: June 27, 2012, 06:56:03 am »
Thank you Francisco
I'll let you know when my mobile version of Feng Office plugin will be ready
And you can follow silexlabs on twitter
Regards
Alex

lexoyo

  • Freshman
  • *
  • Posts: 18
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #6 on: June 29, 2012, 10:07:30 am »
Ok, I took some time to give it a try

So the api is not available yet as a web service (the "powerful and simple Web Service interface to interact with your Feng Office installation")

Do I understand well?

And so, if I want to interact by web services, I should expose the methods of the ApiController class defined in the file application/controllers/ApiController.class.php

Is this the way to go?

WiZaxx

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #7 on: August 19, 2012, 09:03:19 am »
Went through the whole document just to find out that it is not correct.

For starting the GUI is nowhere to be found even after activated

Then the procedure to add a plagin (tab) is totally wrong, as even using a cut & paste of the procedure, there is no way to implement it.

Am I missing something?

lexoyo

  • Freshman
  • *
  • Posts: 18
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #8 on: August 20, 2012, 04:24:04 am »
Am I missing something?

I'm afraid you're not :(
I could activate plugins but that is all...

Did you look into this in order to develop a plugin?

WiZaxx

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #9 on: August 20, 2012, 12:17:51 pm »
Actually not.
I was trying to add a few tabs to wrap tools we use regularly. So we could have them on the same environment.

It is a shame as otherwise this could be a real killer web application.


lexoyo

  • Freshman
  • *
  • Posts: 18
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #10 on: August 21, 2012, 04:30:56 am »
Ah ok
What you want to do is possible, even if this looks more like a hack to me
Did you manage installing the plugin manager, like explained here?
fengoffice.com/web/wiki/doku.php/migration#plugins_installation

WiZaxx

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #11 on: August 27, 2012, 06:48:25 pm »
No,
I was not able to add the plugins as the instructions are wrong.
The developers are deserting the forum and I deleted FO from my server and moved to redmine.

potion

  • Freshman
  • *
  • Posts: 25
    • View Profile
    • WorkgroupBase
Re: Feng Office 2 - New documentation for Development
« Reply #12 on: December 17, 2012, 12:25:54 pm »
I've updated the wiki.  You should be able to get your apps running in a tab with an iframe in your view file.

One thing I noticed: after installing and activating you must  navigate to Administration -> Tabs settings and Save.  Then refresh your browser and your new tab will appear.

lexoyo

  • Freshman
  • *
  • Posts: 18
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #13 on: December 18, 2012, 06:20:12 am »
Thank you Potion
Any chance to see the API working?

PS: Are you working at FO or a contributor?

lexoyo

  • Freshman
  • *
  • Posts: 18
    • View Profile
Re: Feng Office 2 - New documentation for Development
« Reply #14 on: January 12, 2013, 05:08:32 am »
@franponce87

I am still willing to finish this first draft of mobile app (web and native)
github.com/lexoyo/FOMobile

But I need help on the server side. I need an API to query workspaces, mails, tasks, messages, documents, contacts, webpages, calendar..

And I am ok to let FO add proprietary functionality and sell it as you wish.
I just need to access my FO community edition from mobile...