Tag Info

New answers tagged

4

Basically, the whole thing just doesn't seem like it was 'made for me' and my small micro-blog I think, this is the basic statement here. Although your question is about Do common relational database systems work 'out of the box'?, what you are looking for is more: do I need a full featured DB for microblogging?. And there is a clear answer: No, you ...


10

They do work out of the box, for the most part, but you do have to know how to use them. They don't come pre-populated with your application's data model, because they don't know what that is, so they're a blank slate, in that respect. SQLite will support small to medium websites with nominal concurrency and relatively low traffic, which describes probably ...


2

The database is a framework. How much you need advanced features depends on your business needs. For what you've described in terms of needs, you need SQL tables, but not the long list of other things you mention. Start small and simple is the way to go. Think of it as building scaffold. For a shed a few 4x4's does the trick, though only provides a frame, ...


-1

No, there is no direct way to do this. You need to modify the code django/db/backends/mysql/client.py. Don't worry, it is eay.


1

Ominus' answer addresses your first question. The answer to the second question may require more details about your application. Another approach with even greater security if the patients must access the database could be to have a separate database for each user. In this approach you might use a framework that provides multi-tenant, multi-database ...


0

I am not a specialist but here are my two cents. I assume that your webservice runs on a Java EE application server. all the writes to the DB should come from your application server so you should be able to generate events in your code every time you write to the DB instead of webservice which are best for queries from the client, you could use either ...


0

Filter: In order to implement a filter, you could pass a simple string that is equivalent to the "WHERE " part of the select statement that gets executed, but you wouldn't want to just directly append what gets passed in to the actual query that gets executed since it creates an exploit that can be used against the DB. So instead of using the string ...


0

I believe you are making fundamental mistake. WebService is created to fulfill some clear purpose, not just operate on very generic data. Now you have some kind of simple methods and are trying to abstract them so that they would be able to do all the work. This will not scale well. Tomorrow you will want them (since they are really VERY abstracted) to do ...


0

No. You don't need. On the client computer you only need the client software. On the server computer you need the Server Software.


5

So if a thousand people are following Sally, we insert a thousand rows into the corresponding table. Is that scalable? Yes, provided the database tables are properly indexed. What happens if we get to the point where tens or hundreds of thousands of users are following Sally and she's making a few dozen posts per day? You'll generate a few dozen ...



Top 50 recent answers are included