developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 13 years ago

Closed 12 years ago

#163 closed enhancement (fixed)

creating an app with no document root

Reported by: laurentj Owned by:
Priority: normal Milestone: jelix 1.1
Component: jelix-scripts Version: 1.0 beta2
Severity: minor Keywords: createapp documentroot
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

createapp command should have an option to create an application which could run without a documentRoot settings. so, it should create www content at the root directory.

Change History (7)

comment:1 Changed 13 years ago by bballizlife

I'm not sure to understand well this feature. Does it mean create an app with the following structure ?

app/modules
app/var
app/responses
app/plugins
app/application.init.php
app/index.php
app/jsonrpc.php
app/xmlrpc.php

comment:2 follow-up: Changed 13 years ago by laurentj

I mean

app/modules
app/var
app/responses
app/plugins
app/application.init.php
index.php
jsonrpc.php
xmlrpc.php

comment:3 Changed 13 years ago by laurentj

  • Milestone changed from Jelix 1.0beta3 to Jelix 1.0

comment:4 Changed 13 years ago by laurentj

  • Milestone changed from Jelix 1.0 to Jelix 1.1

comment:5 Changed 12 years ago by laurentj

  • Documentation needed unset
  • Milestone changed from Jelix 1.1 beta 1 to jelix 1.1

comment:6 in reply to: ↑ 2 Changed 12 years ago by maurice

Replying to laurentj:

I mean

app/modules
app/var
app/responses
app/plugins
app/application.init.php
index.php
jsonrpc.php
xmlrpc.php

I like that idea very much, but perhaps you should keep the www subdirectory for css, images or other public files.

Also (as asked by ticket 609), if references to the external jelix lib is only put in the application.init.php file, instead of into all the entry files, these entry files become even lighter.

But as these modifications concerns the directory structure, perhaps it is not a good idea to write as late as the final jelix-1.1 version to test it?

comment:7 Changed 12 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed

added an option -wwwpath at the createapp command to allow to indicate the path of the future www directory (the path should be relative to the app directory). svn 1159.

Note: See TracTickets for help on using tickets.