Custom LoopBack Model with Created/Modified - api

It looks like the built in LoopBack models are baked with "create/modified" date fields. Is there an easy way to add this to "generated" models? I've been looking through the docs but can't find anything in the model docs- http://docs.strongloop.com/display/public/LB/Defining+models
Any suggestions?

I'm pretty sure this is what you are looking for: https://github.com/clarkbw/loopback-ds-timestamp-mixin

There is no built-in way ATM. I suggest using an operation hook mixed with new Date(). See http://docs.strongloop.com/display/public/LB/Operation+hooks#Operationhooks-beforesave.

Related

a proper replacement for Cesium map engine

I used to work with Cesium ion and their map engine in my project.
I want to know if there are any better or equal map engines out there.
found some options and am not sure about them.
MapTiler
Carmenta
ArcGis (Although I'm not sure about this one)
Thanks in advance
Please check these open sources. worldwind, webglearth, itown
You can reach out to support#maptiler.com and share more context about your project. We are happy to help you.
Jiri

Cytoscape graph builder (drag-and-drop new nodes)

I am looking to use Cytoscape.js to build an interactive web based graph builder. Is it possible to handle a drop event to create a new node or link? If not, what options, if any exist for interactive graph building using the API? It looks like I may be able to use the click event or the radial menu plugin to do something like this but I'm interested in other options. Are there any good examples out there of doing something like this?
Cytoscape.js has an extension API that can be used to create reusable components like you suggest. There are several existing extensions which you can use in addition to the documentation as examples.
It seems someone has made a similar extension, but it’s straightfoward to create your own using any of the documented API functions.
We’re working to streamline the extension writing and submission process so it’s easier to share your extensions with others in v2.3.

distributed rendering best option

Please suggest some good options for distributed rendering
i know a few of them like loki render and drqueue, lux renderer
if some one already using any of the above or something else please suggest which is the best option
If you're not worried about 'leaking' proprietary info try using the community
http://www.renderfarm.fi/

What is the easiest way to implement CRUD with GWTP (and Objectify for the persistence)?

Is there a library, an eclipse plugin to generate code, or a recommended design pattern ? Any example with GWTP ? Thanks.
You want to look into RequestFactory: http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html
Also a sample code with GWTP, GAE, Objectify and RequestFactory: http://code.google.com/p/gwtgae2011/
Ok, I think the best way is here : http://turbomanage.wordpress.com/2011/03/25/using-gwt-requestfactory-with-objectify/
May this is not exactly what you are looking for but this may be help ful to you.
Google gwtp example.

rhodes without rhosync

I am new in rhodes world.
I want my rhodes app to talk directly with web server
i.e I dont want to use Rhosync.
How can I achieve this?
Also I have seen about Rho AsyncHttp, is it the same I do need to do?
You may use Rhodes without Rhosync. They provide the AsyncHttp classes and methods to enable pulling data and images from other web servers.
You may also utilize the Rhodes ORM (Rhom) even if you are not using RhoSync. This can greatly increase your efficiency when dealing with data objects from your backend systems, using RhoSync or otherwise.
refer following link to know more about AsyncHttp and how to use it.
How to use Rhodes without Rhosync or RhoConnect?
Here you will find how to start work on it and where to call those call.
How to use Rhodes without Rhosync or RhoConnect?
Let me know if you need further any help on this. Here I'm using this in my project.