www.webdeveloper.com
Results 1 to 3 of 3

Thread: CMS (web apllication) framework

  1. #1
    Join Date
    Feb 2014
    Posts
    6

    CMS (web apllication) framework

    I have my framework for rapid application development, now I want to publish it partially.
    I think it may be useful for web designers (with html and css knowledge)
    who do not want to bother with sql, php, wp...
    All you need is to create object an properties for that object.
    For example "main gallery" is object; name, image and alternate is properties,
    or "news" - properties may be date, title, description, user, image, category...

    When you define object and properties (and press refresh in main menu),
    you will have cms and web-service ready for that object in main menu,
    all you need is to change "lorem ipsum" in your html code to "$Objectname.Propertyname"
    (and of course include php library from objengine)

    I setup demo admin page on my test server where you can create object, insert html code and see results

    http://bookingcentar.com/obj-demo/objengine/admin
    user: objdemo
    pass: objdemo

    Preview:
    http://bookingcentar.com/obj-demo/test
    (change "test" to any name defined in "web pages" from admin)

  2. #2
    Join Date
    Jan 2014
    Posts
    20
    Why would this be better than using WP with a 5 minute install?

  3. #3
    Join Date
    Feb 2014
    Posts
    6
    Lets say you create static HTML page, and there is news section repeating:

    NewsTitle, posted on NewsDate<br>
    <a href="http://lorempixel.com/400/200">
    <img src="http://lorempixel.com/400/200" style="float:left; margin:10px 10px 10px 0px;" />
    </a>
    News.Text Lorem etc....<br>
    <hr>
    Using objengine admin page you have to create object named News, and add properties: Title, Date, Image and Text.

    Now you have CMS for your user where he can insert/update/delete news and upload pictures.
    You also have JSON or XML webservice, try
    http://bookingcentar.com/obj-demo/ob...bjectname=News
    or
    http://bookingcentar.com/obj-demo/ob...&orderby=Title
    which can be used for android/ios/desktop application or ajax calls (I use it with knockoutJS)
    Now you have to replace "lorem.." partst from your static HTML page with names(keys) you defined:

    <!--FETCH.News -->
    $News.Title, posted on $News.Date<br>
    <a href="objengine/image.php?filename=$News.Image">
    <img src="objengine/image.php?filename=$News.Image&w=100" style="float:left; margin:10px 10px 10px 0px;" />
    </a>
    $News.Text<br>
    <hr>
    <!--ENDFETCH.News -->
    and you will have dynamic populated page
    Login to http://bookingcentar.com/obj-demo/objengine/admin and try for yourself please.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles