saas

SaaS - Multi tenant Separate database model Implementation in Java

时光总嘲笑我的痴心妄想 提交于 2019-12-04 12:52:10
I am architecting a software project and I want to achieve a SAAS (Software As a service) model. I want to design a web application compatible to multi tenancy with separate database per tenant. How can i design Multi tenant UI in Java environment(UI should be tenant configurable in nature)? How can I design data access layer for separate database per tenant(Single application instance for multiple tenant database)? And also suggest me to choose technology stack in Java environment. Thanks in advance. techuser soma This post has details on the database architecture for multitenancy. How can i

Service Oriented Architecture suggestions

馋奶兔 提交于 2019-12-04 12:19:52
问题 For personal and university research reasons I am thinking of building a simple CRM using a service oriented architecture. Its meaning is just to explain the architecture itself, not commercial use. I was thinking of implementing a CRM that offers a simple analytics service and customer care (user storing, personal comments, and few other things). The architecture that I'm designing defines: - WebGUI (a client of the other services) - AnalyticsService (a service that receives data, analyzes

Is there a Schema.org type for SaaS or subscriptions?

给你一囗甜甜゛ 提交于 2019-12-04 11:52:13
问题 We sell a Software as a Service with a monthly subscription, I’m trying to figure out if we can provide metadata through Schema.org’s specifications. I have been considering products, but it doesn’t seem to support subscription costs. For products, Google seems to have e-commerce physical object-type stuff in mind. There is also Software applications, but that seems to be made for downloadable software rather than web-apps. What should I use? 回答1: There are different possible perspectives: It

How to do Basecamp-style accounts in Asp.Net Mvc?

冷暖自知 提交于 2019-12-04 09:57:09
问题 For an Asp.Net software as a service application, I want to do account based subdomains like Basecamp and the rest of the 37Signals products have. E.g. acme.myapp.com will load the account for that customer and pull back only their information. This is easy to do in Ruby on Rails, but how would you handle this functionality in ASP.NET MVC and be able to scale to possibly hundreds of accounts? 回答1: We use: public static string GetSubDomain() { string subDomain = String.Empty; if (HttpContext

SaaS / Multi-Tenancy approaches for Java-based (GWT, Spring, Hibernate) web applications

a 夏天 提交于 2019-12-04 07:41:27
问题 I am currently looking into converting a single-tenant Java based web-app that uses Spring, GWT, Hibernate, Jackrabbit, Hibernate Search / Lucene (among others) into a fully fledged SaaS style app. I stumbled across an article that highlights the following 7 "things" as important changes to make to a single tenant app to make it an SaaS app: The application must support multi-tenancy. The application must have some level of self-service sign-up. There must be a subscription/billing mechanism

Ruby on Rails: how to design a SaaS infrastructure?

倾然丶 夕夏残阳落幕 提交于 2019-12-04 05:56:52
I'm building a Rails 3 application that I plan on provided as a subscription-based SaaS (Software as a Service) product. Basically, I want users to be able to hit my "Sign up" page, create a new account, and immediately start using the software. A good example of what I'm trying to accomplish is: http://www.getharvest.com/ Here's what I need to happen when someone signs up: A MySQL database for them is generated on the db server A sub-domain is created (e.g., companyx.awesomeapp.com) The Rails app should know the appropriate database to connect to based on the sub-domain Are there any good

SaaS- Tenant Specific Lookup Data in Shared Database

假装没事ソ 提交于 2019-12-04 05:49:23
问题 I am developing multitenant SaaS based application and going with Shared Database for storing all the tenant records with help of TenantId column. Now the problem is i have some list of lookup records that needs to be shared for all the tenants. For example list of games. GamesTable Id GameName Also have another table used for storing only tenant specific records TenantGames Id TenantId GameName The basic need is i want to use both table data and get the necessary details (Game_Name) while

Cakephp can't change database on-the-fly

。_饼干妹妹 提交于 2019-12-04 04:29:35
问题 I am trying to connect from multiples databases from a loop, but seens CakePHP can't change database , only others infos (like user/pass/host). app/Config/database.php <?php class DATABASE_CONFIG { [...] public $default = array( [..] // Where I have the companies ); public $client = array( [...] // Fakke settings, because I will change it on-the-fly ); } app/Controller/CronController.php $companies = $this->Company->find('all'); foreach($companies as $company) { $settings = array( 'datasource

Generating sequential numbers in multi-user saas application

╄→гoц情女王★ 提交于 2019-12-03 17:52:11
问题 How do people generate auto_incrementing integers for a particular user in a typical saas application? For example, the invoice numbers for all the invoices for a particular user should be auto_incrementing and start from 1. The rails id field can't be used in this case, as it's shared amongst all the users. Off the top of my head, I could count all the invoices a user has, and then add 1, but does anyone know of any better solution? 回答1: Typical solution for any relation database could be a

Efficient Filtering / Searching

耗尽温柔 提交于 2019-12-03 15:44:57
We have a hosted application that manages pages of content. Each page can have a number of customized fields, and some standard fields (timestamp, user name, user email, etc). With potentially hundreds of different sites using the system -- what is an efficient way to handle filtering/searching? Picture a grid view that you want to narrow down. You can filter on specific fields (userid, date) or you can enter a full-text search. For example, "all pages started by userid 10" would be a pretty quick query against a MySQL database. But things like "all pages started by a user whose userid is 10