Ok, in the roadmap I wrote about a website framework for apps. Here are my thoughs on the matter:
* It will be template based, no coding at all except maybe javascript
* Hooks for database API, so you can for example list blog posts, then each blog post has comments. You can add comments by having a page that maps POST data to a database entry.
Here are some things we need to figure out still:
* Each user could have a page, with their apps appearing on a sidebar
* What to do if the user wants to make a family website with a web page with a web gallery and news, would one user be displayed on the home page, or something else?
* Authentication system of some sort?
* How to go about selecting a layout/design?
Ok, I have an idea for the
Ok, I have an idea for the front page. So, it could be something like a portal showing things like latest photos shared by each user, blog posts from users in group x, etc. This could be modified by the administrator. I was thinking that each app could provide a widget of some sort with some sort of options hook.
Oh, by the way, when I say templates I mean like HTML templates, something like this:
{% foreach thing in database %}
<h1>{{thing.title}}</h1>
{{thing.content}}
<form action="{{pages.postcomment}}">
<h4>Post a comment</h4>
<input type="hidden" name="id" value="{{thing.id}}" />
<textarea name="comment"></textarea>
<input type="submit" value="submit" />
</form>
{% endfor %}
Website framework for apps
Yeah I think we need to come up with some conventions to govern how applications and themes are made, particular naming of UI components. As far as the personal pages and albums are concerned, I think it would be a good idea to use external CMS like technologies which can be then embedded into the desktop. We could create a integration API to make this an easy process. We can create an xml-based or ini-based template system for application properties, which can be read by the server. This would allow recognition of themes and applications and would also provide metadata like the author's name and when the application/ theme was created.
MMX
Interesting idea with the
Interesting idea with the intergration api. I don't know how well that would work though, since a CMS and what I wanted to do does not have the same purpose. A CMS is generally for things like projects, organizations, and groups. I want to have something like a personal web page. It also seems very hard to intergrate the two, since CMSes have their own way of doing content management and such. I would like to see authentication backends for CMSes though.
Post new comment