I am looking for a PHP based framework which is ready to go with following features
1. Simple dashboard with login/logout
2. Multiple DB with each db representing a client
Just the basic framework.
3. Simple registration support
Use case:
I download from github and deploy on the server - Assume the server is all configured up with dns and stuff.
I create a user through registration - a new db is created and tenant folder created on the server
I can then access
tenant1.stckoveawesm.com
tenant2.stckoveawesm.com
each connecting to different db. Assume: *.stckoveawesm.com is mapped to the server I am hosting the framework on.
I know there is code igniter, Zend and Symphony that supports the framework. I m looking for a library/framework which is ready to go. A shell code which can just do the trick with min. config.
I finally managed to get something done using Laravel framework and is hosted on github for folks to help and improve. Any one wants to pitch in and help fork and let me know so I can collaborate.
https://github.com/sseshachala/laravel-multi-tenant
Related
Is it possible to use Laravel Spark on a site where logins are controlled via Laravel Socialite? The documentation doesn't make this immediately clear to me. I understand I wouldn't be able to utilize the 2-factor authentication. Without access to the source code I can't scope out the difficulty, so I'm hoping someone who's used it can assist in answering this.
First
Laravel Spark is not meant something to integrate with an existing project. Its something to start with it, which save your time so don't 've to integrate common things and quickly implement / integrate / enhance your custom business / application requirements. Visit https://spark.laravel.com/ to check what you'll get ready made when start with Spark.
Here's what the official website says.
Spark provides the perfect starting point for your next big idea.
Forget all the boilerplate and focus on what matters: your application
Second
Spark is not free, You need to buy subscription key "Spark API token" which will lead you to install / use speak and start modify that for your business needs.
However
If your application already build on Spark and you are looking for features that offer by new version of spark, you might need to upgrade your Spark. You can check your Spark version by php artisan spark:version command
Updating might break your application, you need to be always careful
and follow the official guide and do backup.
Using Laravel Socialite with spark
You should be able to integrate socialite on your laravel application build on spark if that's your application business case or application requirement like any other requirements. This might be tricky to enhance the spark authentication code or follow spark approach to implement features. If you are a paid customer of spark you can ask for support. And to scope out difficulty you can go through the comments of this post https://laracasts.com/discuss/channels/spark/integrating-socialite-with-spark , it seems devs are already trying to integrate those.
Spark and the 2-factor authentication issue
I seems that spark latest version already integrate two factor authentication support. Here some text form official doc
Spark makes it simple to offer two-factor authentication to your
users. Two-factor authentication provides your users additional
account security by requiring them to provide a token during login in
addition to their username and password. This token is generally
retrieved from an application or SMS on their cellphone. Read more on that https://spark.laravel.com/docs/6.0/two-factor
Finally
Here's a screencast for a quick overview of what Spark is https://laracasts.com/series/laravel-spark/episodes/1
Hope That Helps
I am new to this Web development. I need to know the different ways in which the application i developed can be hosted
Here is a rough checklist with links:
For a MEAN-Stack you start with the node.js Installation, which delivers the command framework for the rest.
When you start from scratch, my recommendation for the next step is to install Angular 2 with the #angular/cli Package.
When you are familiar with the FrontEnd in Angular 2, you can install the expressjs server following this post.
So the backend and the frontend are there, but they have to talk to each other with e.g. the routing in express on the backend and the http client of angular 2.
When you don't have it, you have to install mongodb before you can connect via mongoose from express server (backend) to the database.
Others may propose other ways or even ready to use packages, which I've also used, but I'm using this approach first to learn and test on every step before to move forward.
I'm a hobby developer that use Parse.com as my database and website host, as Facebook is going to shutdown Parse.com, I'm now looking for alternative Parse server.
I use Parse's Cloud Code Hosting to build Dynamic Web App, and Parse itself to store data collected from the website I've build, with custom Cloud Code to help getting and managing data. I've build a Windows Phone app for myself to manage the data I've collected too.
Is there any alternative server that has my requirement?
Dynamic Website
Database host
Custom Cloud Code (with BeforeSave and AfterSave trigger)
with Windows Phone SDK (or REST API if doesn't have)
Very thank you for helping me!
Try out Hasura.
Hasura (http://www.hasura.io): Hasura is a neat PaaS + BaaS solution. It is now competing with Firebase, Kinvey, Heroku et al. There is a full comparison page here: Compare | Hasura (https://compare.beta.hasura.io) . The difference majorly lies in infra ownership as well as no tech lock-in due to open-source components(like docker, kubernetes,postgres) building the major chunk of the platform. Check it out. There is also an option to explore (https://explore.beta.hasura.io/) Hasura by building your own blog web app and a todo app in under 15 mins.
Hasura should fit in perfectly for your needs.
DISCLAIMER : Hasura Engineer here.
I'm using Simbla website application development. It doesn't support all of your requirments but it has great UI builder with a backend parse database.
You can try using the parse open source server it has cloud code and you can use a custom database with it.
I'm using Parse.com SDK services for my Android app.
I've seen that Parse had released their Android SDK as an open source project on Github on this address.
My app is almost finished, and when I'm uploading it to the Play Store, I don't want to be controlled by Parse.com (I mean that I don't want to be blocked someday, or I don't know that), so I want to move my whole database to my own server that hosted on a secure company.
I've checked the open source project on Github and realized that all I need to use it on my own server is to generate an Application ID and a client key.
So I want to ask if someone knows how to generate an Application ID and a client key of Parse to use it on my own server, or that you maybe knows another way of moving it to my server? And one more question: Today I'm using also Facebook SDK with my app. If I will move my database to my own server, will I still be able to use Facebook SDK on my app?
Thanks!
I have write an article about how to migrate parse to a custom server.
https://medium.com/#jcminarro/run-parse-server-on-your-own-server-using-digitalocean-b2a7d66e1205
There's a massive difference between Parse open-sourcing their SDKs compared to revealing their entire backend architecture and its configuration.
The open-sourced SDKs are essentially wrappers for Parse's REST API along with some convenience functions and logic for natively interpreting the JSON data Parse is transmitting.
At a high level, Parse uses MongoDB for its core database and is entirely hosted using AWS (Amazon Web Services). The entire architecture is highly complex and is not something you could just drag and drop onto your own software stack or hardware backend.
To help give you a better idea of how Parse achieves all of their services, here's an interesting presentation their Dev Ops team gave at an AWS convention. Suffice it to say, hosting the backend services for over 180,000 apps requires a complex infrastructure and that is the "secret sauce" so to speak for Parse and is why Facebook purchased them for over $85 million two years ago.
I am attempting to integrate a web site with Quickbooks Pro 2012 and would like to know what the recommended method is as I'm having a hard time getting information from the Intuit site.
Can I use QBFC13 with Quickbooks 2012 or do I have to use QBFC12?
Since this is a website, I think the correct method is to use Web Connector, although the web server could have direct access to the QuickBooks company file.
I'm been looking for a recent Web Connector sample (one that doesn't use Microsoft.Jet.OLEDB)
1. Can I use QBFC13 with Quickbooks 2012 or do I have to use QBFC12?
To my knowledge, all newer version of the SDK should work fine on older version of Quickbooks. I believe I read somewhere that they make an effort to keep it backwards compatible.
2. Since this is a website, I think the correct method is to use Web Connector, although the web server could have direct access to the QuickBooks company file.
I personally did not go with the webconnector route, because I needed real time comms. The webconnector will periodically "connect" to your website, and ask if it has any work for it to do. I personally created my own WCF Self Hosted service, which the website conencts to when needed. This wcf service, then interfaces with the quickbooks SDK, and passes the required info back to my website, when it wants it.
3. I'm been looking for a recent Web Connector sample (one that doesn't
use Microsoft.Jet.OLEDB)
Cant help you out here, although the QB specific stuff should generally still apply? Can't see why an example using a Jet DB would make the QB part of it unclear?
You can use either. You just need to make sure the QBXML version used is supported by QB.
Yes, you will need to use the web connector since this is going to a web site.