|
26
|
DonationCoder.com Software / N.A.N.Y. 2013 / Re: Carbon - my new hackable performant (semi) static blogging system.
|
on: October 04, 2012, 10:29:08 AM
|
Yes the MVC work is from scratch but inspired by CodeIgniter, I have used that in the past and can recommend it. In the past I have found it difficult to neatly organise a project like this in the CI MVC model so I thought if I start from scratch I understand the foundations better. It's won't be as robust as CI but then it won't have several years of little tweaks that make it harder to understand what's going on.  I'm trying to keep a separation between the mvc code and the system behind it so that people can just focus on their site structure and how it is generated. Basically a request gets routed by Carbon::router to an appropriate Application controller (based on content types). The content gets filled in by the system's DataModel class which is passed through the application's Model (defines sections of content mostly). Once we have the content in the right structure it's sent to the application's View class that uses a very simple templater to generate the page. Only using two models at the moment: [ copy or print] public static $page_model = array( 'markdown|html' => 'content', ); public static $post_model = array( 'yaml' => 'metadata', 'markdown|html' => 'content', ); I'm taking the controller and model that is used and then use that to choose the right template file (pages.php for pages, archive.php for archive etc). But for example you might add a Portfolio controller and model that sends things through to a portfolio.php template.
|
|
|
|
|
31
|
DonationCoder.com Software / N.A.N.Y. 2013 / NANY 2013: Carbon - website / blogging framework [alpha]
|
on: September 28, 2012, 09:54:41 AM
|
Carbon is a hackable performant (semi) static blogging system.. I intend this to be my NANY 2013 entry, however I'm getting too excited  I've never build such a system from scratch but am familiar with PHP frameworks like CodeIgniter, SilverStripe etc so Carbon is class based, somewhat MVC and clearly written (I hope). It should be considered early alpha, a first-look. There is no point using it in production yet, but you might want to have a sneak peak and give initial feedback. Aims* Easy to learn * Easy to hack & extend * Performant There are many others. I find most of them too complex to extend, too fiddly to get running, or too hard to use. Because I wrote this one, I don't have these problems. Source and information, issues etc on GitHub. Enthusiastic feedback welcome. Best way to start is to look at the index.php and follow the execution pipeline.
|
|
|
|
|
34
|
Main Area and Open Discussion / General Software Discussion / Re: SilverStripe - Easy to use open source CMS + Framework
|
on: July 21, 2012, 03:19:02 PM
|
Yeah so SilverStripe is not for everyone. If you like your features already available in your CMS, you will want to use another product, and loathe it for it. However this thing is great when you want a 90% there CMS with extensibility and make it so easy to add the rest. This is great when: - You are setting up a CMS for a client and will need to deal with specific requirements anyway. - You have a specific requirement for yourself and have php programming knowledge. - You find that all the functionality you require is already available in SilverStripe modules. Many things are, but not as much as drupal modules haha (I remember having to download up to 22 modules to setup HTML email templates for system mails - with drupal). However when you create your own page types, silverstripe rebuilds the data base schema for you. You can create a new administration section for your products in several dozen lines of php, without having to write UI code (take that wordpress plugin authors). When you can leverage functionality already built in to create a static version of your site, and boost the performance of your site, or ssh it automatically to remote servers. However if that paragraph doesn't make much sense then you are probably better off with a blogger account or Website Baker  BTW insteaod of using a WAMP stack I am now using a virutal machine with ubuntu which works very well (tutorials elsewhere on this site). Things I would now use it for: - replace my dcmembers site with something that looks 21st century and unifies news, software, blog and other features. [attachthumb=#][attachthumb=#][attachthumb=#] - build the getbard.com website and make it trivial to maintain - a personal portfolio so that you can enter a gallery of screenshots, description, urls of projects. I tried to make a WordPress plugin to make it easier to make custom content types by making it a single line of code to add an image field etc. Well Silverstripe already allows this way more flexible. -a cv builder website (keep my cv versioned in a database, and integrate some kind of PDF export option. Quick to build when adding fields is so easy.
|
|
|
|
|
36
|
Main Area and Open Discussion / General Software Discussion / SilverStripe - Easy to use open source CMS + Framework
|
on: July 20, 2012, 09:33:52 AM
|
Just wanted to recommend SilverStripe CMS and the SilverStripe Framework (previously saphire). I've tried to bend Wordpress to a CMS role, and have experience developing and maintaining a Drupal, Joomla CMS site and made some sites using CodeIgniter PHP framework (and rolled many from scratch). I tried Squarespace (if you want to spend money). However SilverStripe is so easy to manage content with. Designers can take an existing template with stylesheets and get a basic working site going within the hour. Developers can use the extensive framework and feature set and expand from there, it's very elegant. NegativesAt the moment the documentation is not yet up completely up to date with SS 3.0 (released end of june), and you will be googling the API and documentation sites quite a bit in order to piece the various components together. Also I've asked two questions on the forums without reply (although most questions seem to get good responses generally). PositivesThat said, it's used by it's commercial developer to create and maintain sites for major New Zealand's major companies and organisations. You can drag and drop images into an image field. You can then use Image.SetWidth(300) in your template and it will generate appropriate derivatives. You install one module and it will generate a full REST webservice based on your data. You add a few lines and your list of news items are now also exposed as an RSS feed. etc. You will see many more sites from me in the future based on this.  Is there anyone here that have used it for any projects?
|
|
|
|
|
45
|
DonationCoder.com Software / Finished Programs / Re: SOLVED: Script to send email, but ....
|
on: June 28, 2012, 03:09:14 AM
|
According to the SendEmail site, Q: I'm using the Windows version of sendEmail, and I get the error message "the ordinal 2586 could not be located in the dynamic link libraby LIBEAY32.dll", what do I do? A: I don't know why this happens, but you can fix it by downloading the "No TLS Support" version of sendEmail. You won't be able to send email through an SMTP server that requires encryption, but it won't give you that error message. You will have to open the zip, then overwrite the sendEmail.exe file in the NoteMe folder with the one in the zip. Hope that helps if not, send me an message and I'll help.
|
|
|
|
|