.X
if it has a direct child named .X
or the app referenced by its type implements the .X
interface.In object oriented programming, an accept rule would be called an interface. It is a set of methods a file has to implement to be accepted in a bucket.
Apps may define buckets for their instances, each bucket having its own accept rules, which are a set of methods a file has to implement to be accepted in the given bucket.
Buckets are defined in files named .Buckets
.
An app instance is a file that's type points to an app. Similar to a class instance in object oriented programming.
A bucket placeholder is used to define a bucket within a component.
Components are the no-code equivalents of apps. It is used to create reusable elements or element structures, typically via drag-and-drop. A component wraps one or more app or component instances and optionally declares some input files to be defined at component instances.
For example, a page component may define a page layout to have a certain menu and footer, but the contents should not be the same on all pages (instances of that page component), rather defined individually.
Components are mostly implemented in kernel space but they require certain functionality to be defined in user space. These are defined in the component app.
The file type of components points to this component app.
A component instance is similar to an app instance but for components.
Component instances encapsulate the inner structure of the referenced components and present them as single objects. Only the input parameters of the component (input files) can be defined at the component instance level.
.Inline
interface.sjs-4
JavaScript engine..
or ..
are resolved relative to the /sys/packages
file. For example, the type gallery.boomla.net/gallery
would resolve to /sys/packages/gallery.boomla.net/gallery
..Inline
..Request
method is executed on the requested file. System defined methods start with an uppercase letter after the dot, user defined methods start with a lowercase letter after the dot..Page
interface..Request
is located on its type chain and executed..Request
is reserved for request method files..Request
. System filenames can only be used if they are among the reserved filenames.