Stadtpirat.net
#1
Posted 23 December 2011 - 06:03 PM
Today I finished the migration of my blog from WordPress to ProcessWire. I had the move like 300 articles and 600 comments. And yeah, I've got it.
So here it is (may the first whole blog with Processwire?): http://stadtpirat.net/
Greets,
Nico
#4
Posted 24 December 2011 - 06:10 AM
Loads pretty quickly for me too, but if there are complaints about speed you could always look into PW's caching options (if you haven't already).
Love the page showing the monthly post stats and the tag cloud as well - I was thinking a few weeks ago how to do a tag cloud and it was pretty easy but I've just not had the need to implement one yet. As with most things in PW it's a case of working out how to do something not if you can do it which is the beauty of the platform.
I'm also converting a site from Wordpress to PW but it was only because WP was used for the original site (which isn't actually a blog site), and now the client is happy to move to PW to get away from the seemingly-regular security updates in WP. WP is a well-established platform, don't get me wrong, but surely there can't be that many security issues left to fix by now?
#6
Posted 24 December 2011 - 11:33 AM
#7
Posted 27 December 2011 - 01:05 PM
When browsing the site I monitored the request times in firebug and there is an above average 'wait time' between request and response on the page's URL. However, it's not something I would have noticed. But that may point to some heavy lifting happening at the server, whether in PW or any number of other factors. When it comes to PW, it will let you consume a lot of resources very easily, so you do have to take care sometimes, especially with larger sites. For instance a call to $pages->get('/blog/entries/')->children could load all blog entries if you didn't specify it with children("limit=n"). Likewise, siblings/next/prev functions are good to avoid on a page with hundreds of siblings. With great power comes great responsibility.
These are just general guidelines and aren't much of a consideration until things get big. This site is at a size (with several hundred blog entries) where some of these scalability considerations should be observed. But it may or may not be applicable in this situation. The site performs reasonably well for me and I would not have ever noticed it as slow. But then again, maybe I was the only one accessing it at the time. Anytime anyone wants me to look at your code for potential bottlenecks I'm happy to. Feel free to post in the forum or privately to me. Most issues that would affect scalability are simple to fix because PW is designed to really sing at the larger scale and just requires occasional tweaking to how you use the API.
#8
Posted 27 December 2011 - 02:16 PM
#9
Posted 27 December 2011 - 03:22 PM
#10
Posted 27 December 2011 - 03:35 PM
This is probably caused because everything is absolute positioned (that is some wild stuff you have there
Wouldn't it be much simpler layout to have three columns and let the content flow without any absolute positioning?
#11
Posted 27 December 2011 - 03:47 PM
Nico, not sure if you are aware of this, but your blog is almost un-usable on Android Browser (at least default one that comes with HTC Desire HD). It crops half of the left content out, no matter which page you are. When reading single post you can only see few words at the end of the lines.
This is probably caused because everything is absolute positioned (that is some wild stuff you have there). So there is no any kind of content flow. You can test this if you resize your browser window to smaller size: you cannot scroll to the left, even when content doesn't fit into the window.
Wouldn't it be much simpler layout to have three columns and let the content flow without any absolute positioning?
I think it may could be because of Nicos favorite center position technique on the main container (as pointed out in a other thread one I wouldn't recommend
hint:
#home {
font-size:13px;
left:50%;
margin-left:-480px;
margin-top:100px;
position:relative;
width:960px;
}
@somartist | modules created | support me, flattr my work flattr.com
#12
Posted 27 December 2011 - 04:08 PM
Negative margins are part of the spec, they are well supported and work as expected. Also spec is pretty clear how they should function: http://www.w3.org/TR/CSS2/box.html (search: "case of negative margins").
They are not evil Soma
Although I don't prefer using negative margins myself. I use them only when necessary (and that means I don't have easy access to markup) which is very rare.
#13
Posted 27 December 2011 - 04:12 PM
I tested in web inspector to remove those styles from #home and set it to margin: 0 auto; It centered fine, but didn't resolve the main problem (hidden content on small screen). So that is not the issue.
#14
Posted 27 December 2011 - 04:17 PM
@somartist | modules created | support me, flattr my work flattr.com
#15
Posted 27 December 2011 - 04:23 PM
But unfortunately that won't help here, fixing this issue probably requires more work than that.
#16
Posted 27 December 2011 - 04:30 PM
But in stadtpirat there is also this absolute positioning stuff, which causes problems. If you resize your window and look at the firebug/web inspector at the same time, you can see how it changes those inline values. After you have small enough screen it will position them out of the screen: position: absolute; left: -30px; etc...
Nico: are you using some kind of js-plugin for the layout? Is there some way to make it work with smaller screens also?
#17
Posted 28 December 2011 - 09:13 AM
#18
Posted 28 December 2011 - 09:43 AM
It is superb design! Looking forward for mobile version.
#19
Posted 02 March 2012 - 12:01 PM
another great line: "Proudly powerd by
Your comment box looks good, I have yet to update mine as per your last suggestions.
Also, I got an error when clicking your archive graph... I'm running Ubuntu + Firefox if it helps
But, Great stuff overall!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













