integrate external application

Author Message

luca maroni

Sunday 25 March 2007 8:16:42 am

Hi,

I need to integrate several external application in a ezpublish site. The other applications are simply php/MySQL applications (one table, one list page to show the records and one edit page to modify and create new records). I understood reading several topics and article that the best way to do it is create my own extensions and module.isn't it?

Always reading a lot of topics and articles I understood how to create the extensions and module but all the examples I found deal this subject for the view mode of the data (how to show data from external database or external application). they don't deal the part to create and edit data.

For example
http://ez.no/ezpublish/documentation/development/extensions/building_an_ez_publish_module
is a tutorial to create an extension to show data from an external application

also hello world tutorial for module deal only the "view" data and not "create/edit" data
http://ez.no/ezpublish/documentation/development/extensions/module/hello_world

There is some interesting topic or article or tutorial where I can learn how to create my own form, validate data filled in the form and insert them into an external database.

Any help is very welcome ;-)

Bye bye
Luca

Heath

Sunday 25 March 2007 1:12:29 pm

Hello,

You may want to create a custom content action/edit handler extension
http://ezpedia.org/wiki/en/ez/content_action_handlers
http://ezpedia.org/wiki/en/ez/content_edit_handlers

You may prefer to create a custom module extension instead, there are examples of modules which provide the type of functionality your looking for. An example of this might be found in the ezadmin extension.
http://pubsvn.ez.no/community/trunk/extension/ezadmin/modules/admin/
http://pubsvn.ez.no/community/trunk/extension/ezadmin/modules/admin/sqlquery.php

hth

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Xavier Langlois

Monday 26 March 2007 4:09:17 am

Hello

This one might be usefull for you:
http://ez.no/community/contribs/applications/extension_manager

;)
++

--
There were these two cows, chatting over the fence between their fields.
The first cow said, "I tell you, this mad-cow-disease is really pretty scary. Don't you think ?"
The other cow replies, "Hell, I ain't worried, I'm a duck !"

luca maroni

Friday 30 March 2007 1:04:45 am

Thanks Guys. Those were the resources I was looking for ;-)

Thanks a lot.
Luca

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:42:49
Script start
Timing: Jan 18 2025 11:42:49
Module start 'layout'
Timing: Jan 18 2025 11:42:49
Module start 'content'
Timing: Jan 18 2025 11:42:49
Module end 'content'
Timing: Jan 18 2025 11:42:49
Script end

Main resources:

Total runtime0.6150 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9141152.6250
Module start 'layout' 0.00650.0033 740.539139.4453
Module start 'content' 0.00990.6032 779.9844596.3203
Module end 'content' 0.61300.0019 1,376.304712.1641
Script end 0.6149  1,388.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5514160.0002
Check MTime0.00140.2212160.0001
Mysql Total
Database connection0.00080.123710.0008
Mysqli_queries0.551489.6702620.0089
Looping result0.00080.1346600.0000
Template Total0.580494.420.2902
Template load0.00200.327420.0010
Template processing0.578494.049620.2892
Template load and register function0.00020.034810.0002
states
state_id_array0.00120.196310.0012
state_identifier_array0.00170.282020.0009
Override
Cache load0.00170.2783360.0000
Sytem overhead
Fetch class attribute can translate value0.00120.200430.0004
Fetch class attribute name0.00130.214060.0002
XML
Image XML parsing0.00120.188630.0004
class_abstraction
Instantiating content class attribute0.00000.001860.0000
General
dbfile0.00110.1730230.0000
String conversion0.00000.002040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs