» Home » Documents » Page 1
How to decide whether to store deep documents or thin related documents in a NoSQL database
Category : Databases
New To NoSQL

In my 8 years of web development I've always used a relational database. Recently I started using MongoDB for a simple, multi-user web app where users can create their own photo galleries.


My Domain

My Domain is quite simple, there are "users" > "sites" > "photo sets" > "photos".


I've been struggling on how to decide how to store these documents. I


View Replies


MongoDB Schema Design - Many small documents or fewer large documents?
Category : Databases

Background
I'm prototyping a conversion from our RDBMS database to MongoDB. While denormalizing, it seems as if I have two choices, one which leads to many (millions) of smaller documents or one which leads to fewer (hundreds of thousands) large documents.


If I could distill it down to a simple analog, it would be the difference between a collection with fewer Customer documents


View Replies


Issue previewing Google Docs text documents using embed URL on Android Phones with Documents List API v3.0
Category : Android

I'm attempting to provide previews of Google Docs text documents in a WebView on Android. I'm using the Google Documents List API v3.0, from which I am receiving an link element containing an embed URL, e.g.:


<link rel="http://schemas.google.com/docs/2007#embed" type="text/html" href="https://docs.google.com/document/d/XXXXXXXXXXXXXX/preview"/>

To prev


View Replies


Cannot query MongoDB embedded documents using Doctrine2 that reference other documents
Category : Coding

Essentially, I am trying to run the following query as it returns the correct results when run at the command line.


db.order_in_progress.find({ "orderProducts.carrierAccount.$id" : "50db39141311fa9421000000" });

I cannot get it to create the correct query using doctine2 though. My current query is below:


$qb = $this->createQueryBuilder();
View Replies


How to annotate the result documents with a count of child documents?
Category : Databases

I have a collection of categories, each category document containing a link to its parent (except the root categories). Pretty simple so far.


I want to list the categories, and add a subcategory_count field to every document with the count of direct descendants.


How should I go about doing this? Could Map/Reduce be of use?


View Replies


Mongo DB: How do I turn an array of documents into individual documents?
Category : Programming Languages
{
"teachers" : [
{"name": "Lucy", "id": 3, course: "history"},
{"name": "Mark", "id": 6, "course": "maths"},
{"name": "Joan", "id": 20, course: "French"}
]
}

This document is in the "school" collection. I have been trying to access these imbedded documents using



View Replies


how to Download and save xml in documents and then how to parse xml file from documents?
Category : Mobile Programming

In my app app i have to parsing a xml file downloaded from internet. How to download this xml and save in documents on iphone ? and then how can i start the parsing of XML saved in documents??


View Replies


How to Convert Microsoft Publisher Documents to Word Documents
Category : Computers
Sometimes it is necessary to use something you've created in Microsoft Publisher in Microsoft Word. This may be because you prefer designing in Publisher but need the final product in Word, because someone sent you a Publisher document you'd rather view in Word or because Publisher has features that Word doesn't. This may sound like a daunting task, but it's actually quite simple, and doesn't requ

View Replies


How to Link Word Documents to Excel Documents
Category : Computers
When you're working on a big presentation for work or school, or if you keep track of budgets or other important information using Word documents and Excel spreadsheets, it can be useful to learn how to link the two together. By linking your Word documents to your Excel documents, you ensure that when information in one document is updated, it is updated in the other document as well, saving you t

View Replies


How to Convert Word Processor Documents to PDF Documents
Category : Computers
Modern word processing programs help users of all skill levels create printed documents. From letters and resumes to forms, brochures and flyers, software such as Microsoft Word, Microsoft Works, OpenOffice.org Writer and Corel WordPerfect offer point-and-click interfaces that simplify the creation and editing of text, images and layout elements. Regardless of the word processing tool you use, con

View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .