Giter VIP home page Giter VIP logo

blogwt's Introduction

Blogwt Blo(gG)WT

Looking for a better name! Let me know if you have one ๐Ÿ˜‰.

Intro

This project is a blog written in GWT on top of app engine. I started this project because I wanted a blog site for my willshex.com domain. The project does not use gwtrpc, I am using a json based API (or 4 - search, user, blog, and page split by functional area).

Incomplete

There are things missing from the project, but I am working on it everyday, and making good progress too.

I am also adding things that I think I might need as I go along, so if you think there is something useful that you would like to request, please, raise an issue if there isn't one there yet.

I will put a road map shortly on the wiki, maybe even with a "how to".

Setup

Make sure that you have git and maven installed before you start.

  • cd to a new folder where you are happy to install the project
  • run git clone https://github.com/billy1380/blogwt.git
  • cd to the folder created cd blogwt
  • allow the install install depenencies script to run by setting the executable flag on the file chmod +x installdeps.sh
  • run the installation script using ./installdeps.sh. This script assumes that the maven files are stored under ~/.m2/repository so if this is not the case, you might want to edit the file to reflect your setup
  • build and install the package using mvn install
  • build the gwt part using mvn gwt:compile
  • run the dev server using mvn appengine:devserver

The site should now appear under http://localhost:8888

Note: To change the gwt code on the fly the code server has to be running. To start the code server run mvn gwt:run-codeserver.

Demo

I have previously had issues with discrepancies between the appengine sdk behaviour and production so to use for testing and also for demo purposes I there is a relatively up to date version of the project running here so go have a look.

blogwt's People

Contributors

billy1380 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

c0debrain dcojo

blogwt's Issues

Add page support

Pages should appear in the header unless they have sub pages in which case the sections (probably the ones marked with a header tag should be shown)

There is no support for previous and next posts

On the post detail page there should be previous and next post links that point to the previous and next published posts if they are available. Probably just hide the links if a previous or next post are not available.

Post cannot be seen when loaded from archive

When an post is selected from the archive tree, it might work well to invoke the back to the top button. This might apply across the board i.e. after a post is shown (finished loading) scroll to the top of the page.

Auto refreshing post is very annoying

On the add/edit post page especially when there is a video or a map the constant flicker is very annoying. Consider adding a pause and refresh button for that.

Contact form plugin

I need to add a contact form to some pages, there does not seem to be a way to do that.

Wrong posts on logout

There seems to be a race between loading the home page and logging out then refreshing the content (without the session) which means that user unpublished content is sometimes shown after the user logs out.

Sort post order when logged in

When logged, posts either go blank or come back in a messed up order. This depends on the user and there roles and permissions. It is annoying to find anything when you want to edit it.

Build fails because of missing dependencies

Blogwt has dependencies on

  • gson-gwt already open source (listed for completeness)
  • Jasonable parent class
  • servlet classes for the API (and the app engine implementation)
  • string and json utilities
  • service pattern parent classes DONE

There is nothing fancy in any of those and I will get around to making repos for them at some point (soon)

Fix issue with stripping user sensitive information too early

Cached objects (mainly user) that are cached by objectify are shared to minimise access to the datastore. When user sensitive information is stripped before a lookup, the lookup returns a user with a stripped email address. This is causing issues with other calls that rely on the data.

There is a register page that is unused

Admin users and users with the manage users permission can add a new user but setting the allow users to register permission to true does not have any effect.

Edit:
The register page is always empty even if the link is entered into the address bar.

Pages with stale content while loading

While pages are loading new content they sometimes display the old content instead of a loading indicator.

This applies to the post detail page and the edit page.

Resource page is next to useless!

The thumbnails are too small to identify and the meta data displayed is not useful. Need a mechanism to upload images on the resource page and edit the details once that is done.

Consider abandoning the table based layout and using a thumbnail view.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.