PkayJava / MBaaS

MBaaS
Apache License 2.0
8 stars 8 forks source link

Recommend to checkout my solution #56

Closed PhantomYdn closed 8 years ago

PhantomYdn commented 8 years ago

Hi! It seems that we are working in the same direction:) Probably, we can combine our efforts?! Please check out: http://orienteer.org https://github.com/OrienteerBAP/Orienteer https://hub.docker.com/r/orienteer/orienteer/

PkayJava commented 8 years ago

yeah sure, but it is is a big working.

PhantomYdn commented 8 years ago

Sorry - didn't get your previous message. So, what do you think? Imho, ideas looks close to each other: except that Orienteer is more generic and MBaaS has more customized stuff on java. And Orienteer is already working as SaaS.

PkayJava commented 8 years ago

I don't know where to start the integration between these two project.

currently this project is still under development. first version of this project. it will provide a way to write custom rest json service for mobile it will provide a way to create custom page (cms), for data entry, report table, according to the specific needed. currently it support and I still testing

Button
CheckBox
CheckBoxMultipleChoice
ColorTextField
DateTextField
DropDownChoice
EmailTextField
Form
HiddenField
ListChoice
ListMultipleChoice
NumberTextField
PasswordTextField
RadioChoice
RangeTextField
RequiredTextField
Select2MultipleChoice
Select2SingleChoice
TextField
TimeTextField
UrlTextField
Table
Label
FileUpload
MultiFileUpload
PhantomYdn commented 8 years ago

Orienteer has already support of custom rest: through OFunction. User writes OFunction and invocation is available through REST a long with default CRUD operations over data model. Custom pages are also here: user can create OPage, enter required code for HTML, JavaScript and server side and that's it. It's possible to create dynamic wicket enabled pages.

Regarding list of component. Are you saying that you are allowing dynamically in some WYSIWYG construct page from those component?

PkayJava commented 8 years ago

yeah, user able to write freely html, and write business logic of that page.

PkayJava commented 8 years ago

I dont have a demo server running yet.

but this is the example of creating a page.

Markup Page :

<!DOCTYPE html>
<html xmlns:wicket="http://wicket.apache.org">
<head>
  <meta charset="utf-8"/>
</head>
<body>
  <p> Page Listing</p>
  <form wicket:id="filterForm">
    <table wicket:id="filterForm_table"/>
  </form>

</body>
</html>

Business Logic for that page (Javascript)

/*
Page onInitialize
*/
function onInitialize(requestCycle, disk, jdbcTemplate, factory, userModel) { 

  var columns = [
    {
      "tableColumn":"pageId",
      "queryColumn":"page.page_id",
      "classColumn":String.class
    },
    {
      "tableColumn":"title",
      "queryColumn":"page.title",
      "classColumn":String.class
    },
    {
      "tableColumn":"description",
      "queryColumn":"page.description",
      "classColumn":String.class
    }
  ];

  var filterForm = factory.createTable("filterForm", columns, 10);
}

function filterForm__from(jdbcTemplate){
  return DSL.table("page");
}

/*
Page onBeforeRender
*/
function onBeforeRender(requestCycle, disk, jdbcTemplate, factory, userModel) {
}

Page will look like.

screenshot from 2016-06-13 07-40-45

PhantomYdn commented 8 years ago

Interesting. Do you have docker image to check that out?

PkayJava commented 8 years ago

In the moment no. sorry about that. I wrote a page how to run it. https://github.com/PkayJava/MBaaS/wiki

PkayJava commented 8 years ago

I managed to install on my desktop now, you can access it vai this url

http://skh2016.ddns.net:9080/ uid : admin pwd : admin

PhantomYdn commented 8 years ago

Checked out:) Looks interesting. To make it uniq, I guess, you need to have libraries for Android/IOs to use this backend. Is that what you had in mind?

PkayJava commented 8 years ago

I worked on android development to dev sdk(https://github.com/PkayJava/MBaaS-Android-SDK) and a demo app on android. unfortunately most that api are broken now, because because I have add more feature and improvement to mbaas server, but as soon as I complete this cms feature and chat feature on server. I will work on android sdk and demo app again. for iOS i don't have experience on it. I always try to convince my friend to help me on that iOS development :D