[Vtigercrm-developers] New Extensions Store! - Take a Tour

Vikas Jain vikas at vtiger.com
Mon Jul 21 05:38:18 GMT 2014


Stefan,

Thanks for contributing your views on enhancing the framework for plugin
integration.

We reviewed it and want to let you know that the current framework already
allows you to custom handling views/action. Let me give you an example of
custom handling querygenerator, lets say you have a module and you want to
add record level security all you have to do is extend querygenerator to
your custom querygenerator and extend your module ListView model with
Vtiger ListView and call your custom querygenerator in getInstance API of
your ListView

public static function getInstance($moduleName, $viewId='0') {
> ..
> ..
> $queryGenerator = new Custom_QueryGenerator($moduleModel->get('name'),
> $currentUser);


Here in your custom querygenerator you can hook in record level security in
getQuery API. Another concerns we have is Query generator enhancement this
way would be troublesome across the module and could get out-of-control if
each module customizes it. Also there is a possibility of sharing-rules
getting computed unexpected way if the final query build get into ambiguous
state. We see such effect already in the Reports module.


Adding pre-*-post hooks trigger at all places would increase the complexity
of execution and deviate the control flow. We already have such hooks for
view/action processing. Any module can extend the default behavior of the
existing views and can add his own processing.

If you still think there are cases/areas that could be enhanced then do let
us know, we will be happy to review them further.







On 21 July 2014 10:40, Vikas Jain <vikas at vtiger.com> wrote:

> Sure Sreenivas, we will respond to him.
>
>
> On 21 July 2014 08:22, Sreenivas Kanumuru <svk at vtiger.com> wrote:
>
>> Prasad, Vikas,
>>
>> We should update Stefan on our views on this. He might think that we
>> didn't review his suggestions.
>>
>> Regards,
>> Sreenivas
>>
>>
>> On Tue, Jul 8, 2014 at 12:23 PM, Prasad <prasad at vtiger.com> wrote:
>>
>>> Hi Sreenivas,
>>>
>>> @Vikas: Can you please review and share your feedback.
>>> https://github.com/swarnat/vtigerCRM-EventHandler/tree/vtiger6
>>>
>>>
>>> -- here is my feedback --
>>> Adding pre-*-post hooks trigger at all places would increase the
>>> complexity of execution
>>> and deviate the control flow. We already have such hooks for view
>>> processing.
>>>
>>> Query generator enhancement this way would be troublesome across the
>>> module
>>> and could get out-of-control if each module customizes it.
>>>
>>> We see such effect already in the Reports module.
>>>
>>> There is a possibility of sharing-rules getting computed unexpected way
>>> if the
>>> final query build get into ambiguous state.
>>>
>>> Regards,
>>> Prasad
>>>
>>> *Connect with us on: *Twitter <http://twitter.com/vtigercrm> *I*
>>> Facebook <http://www.facebook.com/pages/vtiger/226866697333578?sk=wall>
>>> *I* Blog <https://blogs.vtiger.com/>* I* Wiki
>>> <http://wiki.vtiger.com/index.php/Main_Page> *I *Forums
>>> <https://discussions.vtiger.com>*I* Website <https://www.vtiger.com/>
>>>
>>>
>>> On Tue, Jul 8, 2014 at 12:06 PM, Sreenivas Kanumuru <svk at vtiger.com>
>>> wrote:
>>>
>>>> Prasad, please review this.
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Stefan Warnat <ich at stefanwarnat.de>
>>>> Date: Mon, Jul 7, 2014 at 12:12 PM
>>>> Subject: Re: [Vtigercrm-developers] New Extensions Store! - Take a Tour
>>>> To: "vtigercrm-developers at lists.vtigercrm.com" <
>>>> vtigercrm-developers at lists.vtigercrm.com>
>>>>
>>>>
>>>> Hy,
>>>>
>>>> At the moment the Workflow Designer, the Colorizer and the WebDAV
>>>> Module is compatible with 6.0 and already 6.1.
>>>>
>>>> @Sreenivas: Thanks!
>>>> You say your team will improve the api framework for new plugin
>>>> integrations. (Probably for 6.2)
>>>> Please have a look at this in a free minute:
>>>> https://github.com/swarnat/vtigerCRM-EventHandler/tree/vtiger6
>>>> A system like this will allow almost every possible plugin/feature to
>>>> integrate with plugins, without many other modifications.
>>>> This plain system will decrease the page load on a small server only by
>>>> 25ms and I have good experiences with this way in 5.4.
>>>> If you like simple copy it. ;) You have all rights.
>>>>
>>>> Stefan
>>>>
>>>>
>>>> ----
>>>> *Freelancer at Webdevelopment*
>>>>
>>>> Web: http://www.stefanwarnat.de
>>>> Xing: https://www.xing.com/profile/Stefan_Warnat2
>>>> LinkedIn: http://www.linkedin.com/pub/stefan-warnat/6/827/820
>>>> eMail: kontakt at stefanwarnat.de
>>>>
>>>>
>>>>
>>>> On Thu, Jul 3, 2014 at 3:21 PM, socialboostdk <socialboostdk at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Stefan,
>>>>>
>>>>> You have some nice modules developed.
>>>>>
>>>>> Which of them are compatible with vtiger 6 / 6.1?
>>>>>
>>>>> Thanks!
>>>>>
>>>>> / Chr
>>>>>
>>>>>
>>>>> On 26 June 2014 17:26, Stefan Warnat <ich at stefanwarnat.de> wrote:
>>>>>
>>>>>> Hy,
>>>>>>
>>>>>> This looks great. Additionally if you extend the API Framework in 6.1
>>>>>> multiple times.
>>>>>> Did you allow developers to open up the license for multiple
>>>>>> installations? My Customers could install every license on 2 systems to
>>>>>> allow a development setup. Without this, it will be hard to create big
>>>>>> extensions.
>>>>>> I don't want to bind my customers to hard with the licenses. In my
>>>>>> view of the world, a too hard license agreement will create illegal
>>>>>> movements.
>>>>>>
>>>>>> I'm a little bit confused, because in preview you have a module
>>>>>> "Colorizer" which looks like my "Colorizer" module.
>>>>>> How could I register for an account in this store? Nothing speaks
>>>>>> against my modules for this store. I think it would fit greatly.
>>>>>>
>>>>>> Stefan
>>>>>>
>>>>>>
>>>>>>
>>>>>> ----
>>>>>> *Freelancer at Webdevelopment*
>>>>>>
>>>>>> Web: http://www.stefanwarnat.de
>>>>>> Xing: https://www.xing.com/profile/Stefan_Warnat2
>>>>>> LinkedIn: http://www.linkedin.com/pub/stefan-warnat/6/827/820
>>>>>> eMail: kontakt at stefanwarnat.de
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 24, 2014 at 7:56 PM, Sreenivas Kanumuru <svk at vtiger.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Yes, Conrado. The Store will be available in On Demand instances as
>>>>>>> well.
>>>>>>>
>>>>>>> On Tue, Jun 24, 2014 at 3:14 PM, MAGGI Conrado <comaggi at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Sreenivas, Hi..
>>>>>>>>
>>>>>>>> Will be the marketplace available in  the on-demand version?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Conrado
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jun 24, 2014 at 9:46 AM, Sreenivas Kanumuru <svk at vtiger.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>>  We love the experience of installing apps on the Mobile app
>>>>>>>>> stores, and trying to replicate that in Vtiger. If the revenue we generate
>>>>>>>>> from the app store (25% of the app fee) is good, then that means developers
>>>>>>>>> will be lot happier (with 75%) which is going to make us even more happier.
>>>>>>>>>
>>>>>>>>> The main hurdle is that the framework API limitations require some
>>>>>>>>> system file changes, which makes the extension non-compliant. That is
>>>>>>>>> something we are working to address this and see more extensions listed.
>>>>>>>>> However, we will not be able to solve this in 1 version.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Sreenivas
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Sreenivas Kanumuru
>>>>>>>>> vtiger Team
>>>>>>>>>
>>>>>>>>> Direct: +91 96323-55656
>>>>>>>>> Skype: skanumuru
>>>>>>>>>
>>>>>>>>> *Connect with us on: *Twitter <http://twitter.com/#%21/vtigercrm>
>>>>>>>>> *I* Facebook
>>>>>>>>> <http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I*
>>>>>>>>> Blog <http://blog.vtiger.com/>* I* Wiki
>>>>>>>>> <http://wiki.vtiger.com/index.php/Main_Page> *I *Forums
>>>>>>>>> <http://forums.vtiger.com/>*I* Website <http://vtiger.com/>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Jun 24, 2014 at 1:04 PM, SIAM Translations LLP <
>>>>>>>>> info at siam-translations.com> wrote:
>>>>>>>>>
>>>>>>>>>> If clumsy user will mess system than developers should be able to
>>>>>>>>>> help him. I suggest to create directory of qualified devs next to app
>>>>>>>>>> store.
>>>>>>>>>> On the other hand vtiger team got right to generate revenue -
>>>>>>>>>> just limiting existing functions could be controversial
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 23 Jun 2014, at 17:10, Sreenivas Kanumuru <svk at vtiger.com>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> Hi Holbok, Blazej,
>>>>>>>>>>
>>>>>>>>>> We considered keeping the 'install from file' option in the UI,
>>>>>>>>>> but felt it could lead to users installing unverified extensions that
>>>>>>>>>> might damage the installation. We wanted to add one level of
>>>>>>>>>> difficulty for installing such extensions to ensure that
>>>>>>>>>> users are aware of the risk. We will review this plan if the
>>>>>>>>>> command line tool becomes difficult for users to use.
>>>>>>>>>>
>>>>>>>>>> Note: The one limitation of the command line tool is that
>>>>>>>>>> developers will not be able to protect their
>>>>>>>>>> extensions (Store offers this feature to encrypt php files and
>>>>>>>>>> tie it to specific MAC address )
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Sreenivas
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 23, 2014 at 2:43 PM, Pabiszczak, Błażej <
>>>>>>>>>> b.pabiszczak at opensaas.pl> wrote:
>>>>>>>>>>
>>>>>>>>>>> *We expect that in the same way it will be solved.*
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Z poważaniem / Regards
>>>>>>>>>>> Błażej Pabiszczak
>>>>>>>>>>> M: +48.884999123
>>>>>>>>>>> E: b.pabiszczak at opensaas.pl
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 2014-06-23 11:04 GMT+02:00 Holbok István <holbok at gmail.com>:
>>>>>>>>>>>
>>>>>>>>>>>>  Dear Vtiger Team and All other list members,
>>>>>>>>>>>>
>>>>>>>>>>>> There are several good examples how to organize module install
>>>>>>>>>>>> manager. Please look at the Joomla! project solutions:
>>>>>>>>>>>>
>>>>>>>>>>>> <joomla-vtiger.png>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> This approach can be utilized by the vtiger project also.
>>>>>>>>>>>> In the Joomla! project you can find a method to
>>>>>>>>>>>> - install from the web (e.g. from the vtiger store)
>>>>>>>>>>>> - install from package (this method was used in earlier vtiger
>>>>>>>>>>>> version), the package can be placed in a directory or in a URL
>>>>>>>>>>>>
>>>>>>>>>>>> and there is a method to install extension by Discover.
>>>>>>>>>>>>
>>>>>>>>>>>> For the vtiger - counting future demands - would be very useful:
>>>>>>>>>>>>
>>>>>>>>>>>>    - possibility to install from vtiger store
>>>>>>>>>>>>    - possibility to install from package
>>>>>>>>>>>>    - possibility to install by bootstrap string (for
>>>>>>>>>>>>    developing using vtlib API)
>>>>>>>>>>>>    - or possibility to install by CLI
>>>>>>>>>>>>
>>>>>>>>>>>> And should be there a possibility to Update all earlier
>>>>>>>>>>>> installed extensions.
>>>>>>>>>>>>
>>>>>>>>>>>> I do not suggest to close any earlier used possibility to
>>>>>>>>>>>> install extensions into vtiger.
>>>>>>>>>>>> By my opinion the install from store possibility should be an
>>>>>>>>>>>> extra over the earlier used methods but not a replacement.
>>>>>>>>>>>>
>>>>>>>>>>>> Kindest regards:
>>>>>>>>>>>> Istvan
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> üdvözlettel:
>>>>>>>>>>>>
>>>>>>>>>>>> *Holbok István*
>>>>>>>>>>>>
>>>>>>>>>>>> +3670-342-0900
>>>>>>>>>>>> *e-mail:* holbok at gmail.com
>>>>>>>>>>>> *SkyPe:* holboki
>>>>>>>>>>>>
>>>>>>>>>>>>  2014.06.23. 10:29 keltezéssel, Sreenivas Kanumuru írta:
>>>>>>>>>>>>
>>>>>>>>>>>> Yes, Matteo. We will improve framework APIs to reduce the need
>>>>>>>>>>>> to modify system files. We understand that is important for the success of
>>>>>>>>>>>> the Store.
>>>>>>>>>>>>
>>>>>>>>>>>>  Blazej,
>>>>>>>>>>>>
>>>>>>>>>>>>  *If you will not publish modules that modifying system files,
>>>>>>>>>>>>> we are forced to create our own fork.*
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>  Console (command line tool) will allow the installation of
>>>>>>>>>>>> such modules that are not listed on the store. It is a complementary tool
>>>>>>>>>>>> that will be useful for developers and users who want to install extensions
>>>>>>>>>>>> that are not yet published on the store. In essence, there are 2 ways to
>>>>>>>>>>>> install extensions. first through the store (certainly more easier), and
>>>>>>>>>>>> the other is through the Console. If we are finding that users are having
>>>>>>>>>>>> difficulty with the Console, then we will try to provide a UI for the
>>>>>>>>>>>> console (that is separate from the store).
>>>>>>>>>>>>
>>>>>>>>>>>>  Andrew,
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> *I understand that after migration from 6.0 to 6.1 custom
>>>>>>>>>>>>> modules will not be migrated but i have to install 'em manually. It means
>>>>>>>>>>>>> that database tables will be untouched. Is it correct?*
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>  Yes, upgrading framework from 6.0 to 6.1 will leave custom
>>>>>>>>>>>> modules untouched. They will need to be updated manually through the Store
>>>>>>>>>>>> (possible only if the name matche) , or from outside the store  (through
>>>>>>>>>>>> the Console).
>>>>>>>>>>>>
>>>>>>>>>>>>   *Can I claim one extension to be published - email
>>>>>>>>>>>>> campaigns? Vtiger really need it to make marketing guys happy and stick to
>>>>>>>>>>>>> one app only. *
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>  Thanks for the suggestion. We are discussing internally on
>>>>>>>>>>>> the On Demand features we can release to open source and support well. I
>>>>>>>>>>>> expect we will be releasing a couple of extensions initially (Quickbooks,
>>>>>>>>>>>> Magento connectors for example) and add more over time.
>>>>>>>>>>>>
>>>>>>>>>>>>  Regards,
>>>>>>>>>>>> Sreenivas
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>   On Mon, Jun 23, 2014 at 12:33 PM, Matteo Baranzoni <
>>>>>>>>>>>> info at greenbitweb.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> I think that not allow modifyng system files in extensione
>>>>>>>>>>>>> store was the only possible solution but vtiger needs to improve to ensure
>>>>>>>>>>>>> that they are not necessary!
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2014-06-23 8:31 GMT+02:00 Pabiszczak, Błażej <
>>>>>>>>>>>>> b.pabiszczak at opensaas.pl>:
>>>>>>>>>>>>>
>>>>>>>>>>>>>>   Hi
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  Even if we publish an extension, we will list similar
>>>>>>>>>>>>>>> extensions published by other developers, as long as they meet the
>>>>>>>>>>>>>>> guidelines (*not modifying system files*).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  If you will not publish modules that modifying system
>>>>>>>>>>>>>> files, we are forced to create our own fork.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  Z poważaniem / Regards
>>>>>>>>>>>>>> Błażej Pabiszczak
>>>>>>>>>>>>>> M: +48.884999123
>>>>>>>>>>>>>> E: b.pabiszczak at opensaas.pl
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  _______________________________________________
>>>>>>>>>>>>>> http://www.vtiger.com/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> http://www.vtiger.com/
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________http://www.vtiger.com/
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> http://www.vtiger.com/
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> http://www.vtiger.com/
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> http://www.vtiger.com/
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> http://www.vtiger.com/
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> http://www.vtiger.com/
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> http://www.vtiger.com/
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> http://www.vtiger.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> http://www.vtiger.com/
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> http://www.vtiger.com/
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> http://www.vtiger.com/
>>>>
>>>>
>>>
>>
>
>
> --
> Regards
> Vikas
> Vtiger Team
>



-- 
Regards
Vikas
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20140721/72278419/attachment-0001.html>


More information about the vtigercrm-developers mailing list