Thoughts about coding and books

Appengine sample Guestbook Datastore works but yours fails.

When you first start experimenting with google app engine then you may get Exception below when trying to save data to datastore and checking out PercistenceManager for that. One thing to check it to see, if jdoconfig.xml in source packages and META-INF. Appengine example config is also included here.

<?xml version="1.0" encoding="utf-8"?>
<jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig">

<persistence-manager-factory name="transactions-optional">
<property name="javax.jdo.PersistenceManagerFactoryClass"
value="org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory"/>
<property name="javax.jdo.option.ConnectionURL" value="appengine"/>
<property name="javax.jdo.option.NontransactionalRead" value="true"/>
<property name="javax.jdo.option.NontransactionalWrite" value="true"/>
<property name="javax.jdo.option.RetainValues" value="true"/>
<property name="datanucleus.appengine.autoCreateDatastoreTxns" value="true"/>
</persistence-manager-factory>
</jdoconfig>

Read more about Appengine sample Guestbook Datastore works but yours fails.

How to set up domain and install wordpress

Lets say you have unix webserver and domainname and working apache and php and mysql. Make directory where you will store webpage files like /var/www/marguspala.com. Download and unpack wordpress software there from http://wordpress.org/latest.tar.gz. Edit apache configuration usually in file /etc/httpd/conf/httpd.conf. Open this with editor nano and add new virtual host, minimally: <VirtualHost *:80> ServerName marguspala.comRead more about How to set up domain and install wordpress[…]