Difference between revisions of "Lianja Projects"

From Lianjapedia
Jump to: navigation, search
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
''Under Construction''
+
{{DISPLAYTITLE:Creating a Project}}
 +
==See Also==
 +
[[CREATE PROJECT]], [[Custom Builders]], [[DELETE PROJECT]], [[LIST PROJECTS]], [[MetaTypes]], [[MODIFY PROJECT]], [[OPEN PROJECT]]
  
 
==Working with Projects==
 
==Working with Projects==
 +
In the Lianja App Builder, you can organize your Apps, Database and Library files into Projects.
  
In the Lianja App Builder, you can organize your Apps, Database and Library files into projects.  Projects are used to deploy an App or a group of Apps and/or to build PhoneGap Mobile Apps that can be submitted to Google Play or the Apple App Store.
+
With a Project open, the Home, Apps, Data and Library workspace explorers show just the files included in your Project, giving you a clear view of your current development.
 +
 
 +
When you want to deploy, you can click the checkbox for your Project in the Deploy workspace and all your Project's files will be selected, saving you from selecting them individually and risking missing essential files.
 +
 
 +
<div style="overflow:auto;height:100px;margin-bottom:5px;padding:5px;border:0px solid orange;border-left:5px solid orange;background:#fff8dc;vertical-align:middle;position:relative;">
 +
[[File:bm-noteicon.png|top|40px|link=]]<div style="position:absolute;top:3px;margin-bottom;bottom:5px;margin-left:50px;"><b> Quick Start Guide</b>
 +
Select the "Projects" workspace if it is not already selected.<br/>
 +
Select the "Project Files" Tab in the App Inspector  if it is not already selected.<br/>
 +
Double click a project filename to open it.<br/>
 +
</div>
 +
<span style="height:6px;"> </span>
 +
</div>
 +
 
 +
 
 +
Note: using a Project is not required, but can streamline development and simplify deployment.
  
 
==Getting Started==
 
==Getting Started==
 +
[[{{ns:file}}:proj_open.png|450px|thumb|left|link={{filepath:proj_open.png}}|Open a Project]]
  
You select a Project by double-clicking on its name in the left sidebar Project files tree. The "(default)" Project shows all Apps, Databases and Library files.
 
  
After opening a Project, only those files that you have added to your Project will be displayed in the Apps, Data and Library workspaces.
 
  
To create a Project right-click on the left sidebar project files tree and choose "New project..." or click the "+" in the actionbar at the bottom of the Project files tree.
+
You select a Project by double-clicking on its name in the left sidebar Project files tree in the Projects workspace.
  
Once you have a Project open you can add Apps, Data and Library files to the project by right-clicking on the files tree in the left sidebar and selecting "Add file to project...". To remove a file from a project simply right-click on the filename in the files tree and select "Remove from project...".
+
The "(default)" Project shows all Apps, Databases and Library files.
 +
 
 +
<br clear=all>
 +
 +
[[{{ns:file}}:proj_home.png|450px|thumb|left|link={{filepath:proj_home.png}}|Home workspace displays Apps from the open Project]]
 +
 
 +
 
 +
 
 +
After opening a Project, only those files that you have added to your Project will be displayed in the Apps, Data and Library workspaces and in the Home workspace.
 +
 
 +
<br clear=all>
 +
 +
[[{{ns:file}}:proj_new.png|450px|thumb|left|link={{filepath:proj_new.png}}|New Project]]
 +
 
 +
 
 +
To create a Project, right-click on the left sidebar project files tree and choose "New project..." or click the "+" in the actionbar at the bottom of the Project files tree or the '+' toolbutton in the headerbar.
 +
 
 +
You will be prompted to enter a name for the new Project.
 +
 
 +
The Home workspace also has a 'Create a Project' tile.
 +
 
 +
Note: Project names should not include spaces or dots.
 +
 
 +
<br clear=all>
 +
 +
[[{{ns:file}}:proj_removefile.png|450px|thumb|left|link={{filepath:proj_removefile.png}}|Add and remove files from a Project]]
 +
 
 +
 
 +
 
 +
Once you have a Project open, you can add Apps, Data and Library files to the project by right-clicking on the files tree in the left sidebar and selecting "Add file to project...".  
 +
 
 +
To remove a file from a project simply right-click on the filename in the files tree and select "Remove from project...".
 +
 
 +
From v6.3, [[Reports_Workspace|Reports]] can also be added to a project.
 +
 
 +
<br clear=all>
 +
 
 +
<div style="overflow:auto;height:80px;margin-bottom:5px;padding:5px;border:0px solid orange;border-left:5px solid orange;background:#fff8dc;vertical-align:middle;position:relative;">
 +
[[File:bm-noteicon.png|top|40px|link=]]<div style="position:absolute;top:3px;margin-bottom;bottom:5px;margin-left:50px;"><b> Pro Tip</b>
 +
You can use [[Custom Builders]] to intercept the new App, Page, database and table<br/>
 +
default operations for a specific project.<br/>
 +
</div>
 +
<span style="height:6px;"> </span>
 +
</div>
  
 
==Deploying Desktop and Web Apps from a Project==
 
==Deploying Desktop and Web Apps from a Project==
 +
[[{{ns:file}}:proj_deploy.png|450px|thumb|left|link={{filepath:proj_deploy.png}}|Deploy a Project]]
 +
 +
 +
 +
In the Deploy workspace, the Deployment files explorer tree has a Projects branch.
 +
 +
Select a Project by checking its checkbox and it will automatically select all files in the Project in the Deployment files explorer tree.
 +
 +
<br clear=all>
  
In the "Deploy" workspace, the files tree has a "Projects" branch.  Selecting a Project by checking the checkbox to the left of it will automatically select all files that are in that Project in the deploy files tree.  This simplifies deployment as you can always deploy the same group of files each time.
+
<div style="overflow:auto;height:100px;margin-bottom:5px;padding:5px;border:0px solid orange;border-left:5px solid orange;background:#fff8dc;vertical-align:middle;position:relative;">
 +
[[File:bm-noteicon.png|top|40px|link=]]<div style="position:absolute;top:3px;margin-bottom;bottom:5px;margin-left:50px;">
 +
From v9, '''Build Project Package''' is available from the [[Develop]] quick links button in the ModeBar:<br>
 +
- opens the Apps in the current project<br>- runs a [[Deploying_to_Local_Directory_v6#Preview_live_in_browser|Preview live in browser]] to generate the HTML files<br>- creates a [[Lianja Package Manager|package]] for upload to a [[Lianja Package Manager#Lianja_Cloud_Server|Lianja Cloud Server]] for automatic installation
 +
</div>
 +
<span style="height:6px;"> </span>
 +
</div>
  
 
==Building PhoneGap Mobile Apps from a Project==
 
==Building PhoneGap Mobile Apps from a Project==
See [http://www.lianja.com/resources/blog/39-coding-tips/446-a-guide-to-building-lianja-mobile-business-database-apps A guide to building Lianja Mobile business database Apps.]
+
This has been deprecated in Lianja v5.4. See [[Progressive Web Apps]].
  
 
[[Category:Deployment]]
 
[[Category:Deployment]]
[[Category:Developers Guide]]
+
[[Category:Projects Workspace]]

Latest revision as of 01:16, 16 April 2024

See Also

CREATE PROJECT, Custom Builders, DELETE PROJECT, LIST PROJECTS, MetaTypes, MODIFY PROJECT, OPEN PROJECT

Working with Projects

In the Lianja App Builder, you can organize your Apps, Database and Library files into Projects.

With a Project open, the Home, Apps, Data and Library workspace explorers show just the files included in your Project, giving you a clear view of your current development.

When you want to deploy, you can click the checkbox for your Project in the Deploy workspace and all your Project's files will be selected, saving you from selecting them individually and risking missing essential files.

Bm-noteicon.png
Quick Start Guide

Select the "Projects" workspace if it is not already selected.
Select the "Project Files" Tab in the App Inspector if it is not already selected.
Double click a project filename to open it.


Note: using a Project is not required, but can streamline development and simplify deployment.

Getting Started

Open a Project


You select a Project by double-clicking on its name in the left sidebar Project files tree in the Projects workspace.

The "(default)" Project shows all Apps, Databases and Library files.


Home workspace displays Apps from the open Project


After opening a Project, only those files that you have added to your Project will be displayed in the Apps, Data and Library workspaces and in the Home workspace.


New Project


To create a Project, right-click on the left sidebar project files tree and choose "New project..." or click the "+" in the actionbar at the bottom of the Project files tree or the '+' toolbutton in the headerbar.

You will be prompted to enter a name for the new Project.

The Home workspace also has a 'Create a Project' tile.

Note: Project names should not include spaces or dots.


Add and remove files from a Project


Once you have a Project open, you can add Apps, Data and Library files to the project by right-clicking on the files tree in the left sidebar and selecting "Add file to project...".

To remove a file from a project simply right-click on the filename in the files tree and select "Remove from project...".

From v6.3, Reports can also be added to a project.


Bm-noteicon.png
Pro Tip

You can use Custom Builders to intercept the new App, Page, database and table
default operations for a specific project.

Deploying Desktop and Web Apps from a Project

Deploy a Project


In the Deploy workspace, the Deployment files explorer tree has a Projects branch.

Select a Project by checking its checkbox and it will automatically select all files in the Project in the Deployment files explorer tree.


Bm-noteicon.png

From v9, Build Project Package is available from the Develop quick links button in the ModeBar:
- opens the Apps in the current project
- runs a Preview live in browser to generate the HTML files
- creates a package for upload to a Lianja Cloud Server for automatic installation

Building PhoneGap Mobile Apps from a Project

This has been deprecated in Lianja v5.4. See Progressive Web Apps.