Demo app here
Backend here
username: duythien
password: duythien
Reading tutorial here
http://www.sitepoint.com/building-simple-blog-app-mongodb-php/
How to create blog used MongoDB
Home Page: http://phpmongodb-duythien.rhcloud.com/
Demo app here
Backend here
username: duythien
password: duythien
Reading tutorial here
http://www.sitepoint.com/building-simple-blog-app-mongodb-php/
After creating a post using markdown, it is saved as html. When editing, the editor shows html and markdown wont work. Am i missing a configuration flag somewhere?
Hello,
I try to use the blog "application. I've just changing the connection (with "MongoClient"). It's work a little, but sometimes, there's errors, on differents lines, like this :
Fatal error: Uncaught exception 'MongoConnectionException' with message 'Failed to connect to: 127.0.0.1:27017: Read timed out after reading 0 bytes, waited for 0.000000 seconds' in /var/www/bdd/mongodb/blog/db.php:48 Stack trace: #0 /var/www/bdd/mongodb/blog/db.php(48): MongoCursor->getNext() #1 /var/www/bdd/mongodb/blog/single.php(6): Blog\DB\DB->getById('5425578dfc45a7e...', 'posts') #2 {main} thrown in /var/www/bdd/mongodb/blog/db.php on line 48
In this case,line 48 is : $article = $cursor->getNext();
//$connection= new \Mongo($config['connection_string'],array('username'=>$config['username'],'password'=>$config['password']));
$connection= new \MongoClient($config['connection_string'],array('username'=>$config['username'],'password'=>$config['password']));
have you an idea ?
Thanks,
Fabrice
Undefined type 'MongoClient'.intelephense(1009)
$connection= new \MongoClient($config['connection_string'],array('username'=>$config['username'],'password'=>$config['password']));
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.