CouchDB: Do I need PHP at all? - couchdb

If I use couchDB with a Javascript webpage. Do I still need PHP?
How about authentication? Can this all be done with couchDB?

You don't need PHP to work with CouchDB since there are several JavaScript based client libraries or you can try to look at couchapp.

Related

Browser update to a file without a web server

I need to create a browser based user interface to update an XML file. Is it possible to do this without a full blown web server?
I read about the PHP in-built web-server but wasn't clear whether it will suit my requirement. Any help would be greatly appreciated.
Yes, you can do this, using simpleXML, php. Very easy and clear.
All that you need is already well documented.
See:
http://php.net/manual/en/book.simplexml.php
http://www.w3schools.com/php/php_xml_simplexml_read.asp
http://php.net/manual/en/book.xml.php
http://www.w3schools.com/php/php_ref_xml.asp

User editable template/view - Node.js, Mongodb

Has anyone here an experience with writting an application, where the user is allowed to edit a template of his "profile" online? I mean custom css, html and js - like Tumblr allows that.
What is the best and secure way to do that? Is it better to store the template in a database or in a file?
I am trying to implement this feature with node.js and mongodb, but your experience from other frameworks/languages are welcome too!

Can I use node.js with Objective-J?

I would like to write a web application using node.js and Cappuccino. I want to write the back-end in Objective-J, just like the front-end.
Can I use node.js with Objective-J? What is needed to do this?
beeing a professional Objective-J coder I can say it is definitely possible since Objective-J is fully based on JavaScript. But I also have to say that I never tried it.
I think it would be a good idea to directly start a discussion in the official Objective-J Google Group:
http://groups.google.com/group/objectivej
Check out https://bitbucket.org/clbruno/objj-node/overview

Adding "posting" facility to a website

Hi
I am creating a website using HTML and CSS only and I want to add the following feature:
Any person visiting the site should be able to post a message and that message should appear below with his name and time of posting.
How do I go about creating it?
Please help.
Thanks In advance
You won't be able to do this using HTML and CSS only (at least not in any sane way).
You will need a database of some sort (e.g. MySql, Microsoft Access etc) and you will need some sort of server-side scripting language such as PHP, .NET, Ruby etc.
I suggest picking a language and then finding some tutorials. Most tutorials will take you through using a database.
This is completely impossible using HTML and CSS only. You will have to use a server-side scripting language.

How to create simple website using CouchDB only?

Where do I get a tutorial to create a simple website using CouchDB only without any other scripting language. Is it possible to store the HTML, CSS and the Javascript within the document?
Yes, you can store HTML, CSS and Javascript in view documents in CouchDB. Check free online book: http://guide.couchdb.org/
Surprised no one else mentioned this but you can create a "couchapp" which sounds like exactly what you want. CoudchDB will serve up the HTML,CSS, images, scripts directly. http://couchapp.org/page/index

Resources