Best strategy to make frontend to db

Author Message

Henk Mizmo

Wednesday 14 April 2004 11:45:23 pm

Hi,

I want to redo our site which is a mix of a news site and a frontend to a (quite large) database. I wondered if someone had any suggestions on how to tackle the frontend part with ezpublish (the news site part is ez). The concept is the following : a user can register himself on the site. The use can also add the sportsclub he is responsible for to the database. This way a db of sportsclubs is being build. There also has to be a frontend to this database for site visitors searching for information about a sportsclub.
Is this feaseable in ezpublish ? And would it be not too hard ? Also, I already have some tables with information, is there a best way to integrate them in ezpublish ?
Sorry for all these questions, but I would like to know at least in which direction to proceed.

Thanks a lot,

Henk

Lazaro Ferreira

Thursday 15 April 2004 10:21:15 am

Hi,

According to your problem description, EZP 3 is ready for the task, storing and searching customized content (user defined content classes ) is at the EZP 3 heart

Your main problem will be importing your data to EZP 3 DB format, you will need to code in php ( import script ) to do that

If you are a programmer you can study EZP 3 import scripts code, to figure out how to do it, you will find it at the contribution section in this site

Nevertheless, EZP 3 DB is complex so you may have a hard time to do it, if you don't know the inners of EZP 3

That's my opinion, of course!

Lazaro
http://www.mzbusiness.com

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 19 2025 04:29:07
Script start
Timing: Jan 19 2025 04:29:07
Module start 'layout'
Timing: Jan 19 2025 04:29:07
Module start 'content'
Timing: Jan 19 2025 04:29:08
Module end 'content'
Timing: Jan 19 2025 04:29:08
Script end

Main resources:

Total runtime0.7990 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.2734152.6406
Module start 'layout' 0.00560.0032 741.914139.4766
Module start 'content' 0.00880.7888 781.3906486.8750
Module end 'content' 0.79750.0014 1,268.26568.1406
Script end 0.7990  1,276.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4260160.0002
Check MTime0.00160.1954160.0001
Mysql Total
Database connection0.00070.091610.0007
Mysqli_queries0.744493.1584540.0138
Looping result0.00060.0713520.0000
Template Total0.741892.820.3709
Template load0.00190.243920.0010
Template processing0.739892.594320.3699
Template load and register function0.00010.017710.0001
states
state_id_array0.00150.193910.0015
state_identifier_array0.00480.594920.0024
Override
Cache load0.00160.2024160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.093820.0004
Fetch class attribute name0.00110.141020.0006
XML
Image XML parsing0.00020.028820.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00070.0854100.0001
String conversion0.00000.001040.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs