My goal is to create a framework that I will ship to our clients to use our code to achieve some functionality done by our library.
I had searched a lot to make a library using other dependencies as Alamofire or Google MLKit pods, but could not find a full tutorial on how to work on it.
Is it possible to do a library (framework) that depends on other dependencies? And is there a good tutorial to follow?
Related
In a previous Xamarin native application, I used Microcharts, which is a charting library for .net. Using Microcharts, we had the chart-related logic in the shared part (we used MVVM) and just used charting components on each platform. I was wondering if there is any equivalent for Kotlin Multiplatform Mobile? I'd like to have the charting logic in the shared part.
Thanks.
AFAIK there isn't one that you're looking for.
You could still share your charting logic in KMM, exposing all the chart related information to the platform specific Views, then map that data if needed for the specific library you'd use on iOS/Android.
I think it's best if you don't mix view related libraries, since this way you still get the flexibility of choosing any chart library for any platform
Is it possible to leverage the Amazon Web Services SDK for iOS in a server-side Swift app developed using the Perfect framework? I'd like to be able to deploy my Perfect app to AWS and make calls to DynamoDB, S3, etc. from the app. However, I haven't found any examples showing if that is even possible. Can the AWS SDK be used server-side, even though it says "for iOS"? Does it support the Swift Package Manager, which Perfect seems to use for integrating with 3rd party libraries? If not, does Perfect support CocoaPods for dependency management?
If what I'm attempting feasible, or would I have to write my own integration code using Amazon's RESTful services directly?
"Original" AWS library does not support Swift Package Manager in that moment, and also uses some Obj-c code (as far as I know), so you can't use it on linux. But there is feature suggestion, so maybe it would be there in future
Now you can use AWS services with that library: https://github.com/noppoMan/aws-sdk-swift though its a bit hacky :)
I use that one in my current projects and it's look like all the basic needs are implemented :)
As far as I know, you would probably using Perfect-CURL to perform such tasks; Perfect-MySQL supports RDS, however, you can easily add all SPM compatible 3rd party components as many as need, just edit Package.swift to include; a better idea is to user Perfect Assistant to safely import different components and quickly build / test & deploy to AWS EC2:
http://www.perfect.org/en/assistant/
About Perfect-CURL, there are many examples about Server Side Operations, such as
https://github.com/PerfectExamples/Perfect-Cloudinary-ImageUploader-Demo
which contains how to generate a digital signature in posting files,
also
https://github.com/PerfectServers/SlackBot
with curling API
Hey I love Play Framework Scala and I also am falling in love with Firebase. I was wondering though, I'm planning on building an app using AngularFire and I'm going to need to do some server-side logic/computation and make some server-side queries to Firebase. Is this possible to do with a Play Framework Scala setup? If so what is the recommended approach? If not, is it coming? If so when? I think it's so cool that the Firebase guys used Scala to build Firebase, but I'm bummed there is no Scala API to work with (that I can see). Maybe I could use the Java API somehow, but write still write the app in Scala? Any help would be great. Thanks!
Scala is highly interoperable with Java (compiles to the same bytecode) so you should be able to use the Java API straight-up without any issues.
While some libraries add Scala-specific wrappers to make an API more idiomatic and pleasant for a functional programming style and to smooth some rough edges, it's often not strictly necessary.
If for some reason you didn't want to use the Java client libs, you could also interface with the Firebase REST API via Play 2's very convenience and succinct web services library.
Should be no problem with either their Java SDK (when using Firebase on the backend) or the JavaScript SDK (when using it on the client). But you won't have native support for Scala or Play, especially no support for Iteratee/Enumeratee in Play.
The Java API looks quite good and seems to be event driven. So it should be no problem to integrate it in Play in a scalable way.
We are getting the new requirement for a web based application which uses RESTful Web services. we are planning to use Play with Netty. Where to find the best documents and video materials to start the application from scratch.
Any tools are available to generate the skeleton of the project like maven archetype.
Play comes bundled with netty already. You can learn more about it at
http://www.playframework.org/documentation/2.0.1/Home
Don't go into mavenizing a Play application unless you have a good Maven level.
Paly! comes with all the stuff needed by the developpers.
I have a requirement of developing a Plug-in based UI architecture. Currently, my app uses GWT (Google-Tool-kit) as a client side technology. Now, I am looking for making the app more modular and plugin-aware.
For example, I should have my UI framework ready and any other developers can develop their UI and install/run it as part of my framework. My Framework should never have the GWT code from other developers and compile them as part of the framework.
But the problem I get is, GWT expects all the codes to be compiled together and output the javascript/html which doesn't solve my purpose.
Is there anybody who is also thinking on the same line/ developing something like this? It would be a great help to get me started with some data point/sample code/app.
Thanks in advance.
-Tapas
Do the plugin developers have to develop in GWT? If you want to expose a Javascript API to developers, then you can look at GWT-Js interop API project: http://code.google.com/p/gwt-api-interop/