Forums / Developer / creating site with iphone adn ipad support

creating site with iphone adn ipad support

Author Message

Akhilesh Singh

Friday 06 May 2011 11:20:05 pm

Hello There i need some suggestions from eZ experts.
I am going to develop a site which has iphone and ipad support also.
This is the first time i am going to work on such project so was concern in how should my eZ backend will be.
what is the best way of having eZ admin for such sites.
1. Should i have a separate admin for all 3 sites like.
plain_site_admin for main site.
iphone_admin for iphone site.
ipad_admin for ipad site.
as contents an navigation will be different for all 3 sites.
2. Or i should just use 1 main admin and have separate fields(attributes) in content class for different sites. Like:
bodymain for main site.
bodyiphone for iphone site.
bodyipad for ipad site

can any one suggest me the best one to go for or other ways of simply achieving this.
Thanks in advance.
Akhilesh

Heath

Saturday 07 May 2011 1:27:52 pm

Hello Akhilesh,

I would recommend first using the latest release of eZ Publish (as there is better iphone/ipad detection in more recent ezoe releases).

Cheers,

Heath

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

Quoc Huy Nguyen Dinh

Saturday 07 May 2011 3:30:14 pm

Hi there

It depends. Is it three different websites? Or the same website but in different versions? I guess it's more the second case. So the best would be to have one single admin interface.

But regarding the management of the different content there are several ways:

  1. as you said you can use different attributes, one for each version of the website.
  2. the best way, but not possible now until eZ Systems add the feature, would be to be able to create a channel for each version of the website.
  3. a workaround point 2, if you only have one language, is to create two custom languages but instead of being real languages you would name them 'ipad', 'iphone', they would all be clones of the language, the real language, you are using. Then when you create a new page you create it as 'eng-GB' (or the language you are using), and you can translate it to 'ipad' or 'iphone'. Then you create a siteaccess for each version and configure the INI files to assign each of them their own language between the three you selected.
  4. at the root of your content structure, create 3 folders: 'normal', 'ipad', 'iphone'. Each of them will be the root of their related website. Then you configure site.ini and content.ini to use their respective NodeID as IndexPage and RootNode

Akhilesh Singh

Wednesday 11 May 2011 1:50:29 am

Hello Friends thax for the replay and sorry for delayyyy.

Heath: I am using eZ 4.3 currently. should i switch to some other.?
This idea of creating iphone site as an different siteaccess taking an example of language site is prety good will implement it an check it.

thank you,
Akhi

paul bolger

Friday 01 July 2011 4:24:04 pm

Does anyone know which versions do support ezoe on the ipad? This version (the community site, running 4.4 i think) doesn't

Paul Bolger

eZ debug

Timing: Jan 17 2025 21:03:21
Script start
Timing: Jan 17 2025 21:03:21
Module start 'content'
Timing: Jan 17 2025 21:03:22
Module end 'content'
Timing: Jan 17 2025 21:03:22
Script end

Main resources:

Total runtime1.1120 sec
Peak memory usage4,096.0000 KB
Database Queries204

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 598.0781180.8203
Module start 'content' 0.00690.9829 778.8984691.6328
Module end 'content' 0.98980.1221 1,470.5313337.2891
Script end 1.1119  1,807.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3513210.0002
Check MTime0.00150.1328210.0001
Mysql Total
Database connection0.00070.065510.0007
Mysqli_queries1.017891.53422040.0050
Looping result0.00220.19912020.0000
Template Total1.086097.720.5430
Template load0.00210.192320.0011
Template processing1.083997.473320.5419
Template load and register function0.00010.010310.0001
states
state_id_array0.00030.027710.0003
state_identifier_array0.00070.063320.0004
Override
Cache load0.00180.1655440.0000
Sytem overhead
Fetch class attribute can translate value0.00150.133550.0003
Fetch class attribute name0.00090.080480.0001
XML
Image XML parsing0.00350.315550.0007
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00670.6049420.0002
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ol.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ol.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs