CppCMS 0.999.0 - Release Candidate 1
The first release candidate of the next version of CppCMS is available - the API can be considered stable from this point and would not be changed in backward incompatible way.
New Features:
Templates engine improvements:
Added template helpers support functions
<% using ... %>
and<% render ... %>
that allow using other views directly from the code and not just templates as it was done before.Added new syntax
<% form block foo %>...<% end %>
as better alternative to:
<% form begin foo %>...<% form end foo %>
Improved error messages in templates compiler such that it gives more clear errors in case of syntax error.
Changed semantics of
application::render
function such that it would not override an application that was assigned to the contend (if it was assigned at all)
cppcms_scale
improvements:- Support of session storage in addition to cache storage now providing full scalability of CppCMS services.
- Now it uses same configuration method as CppCMS process - JSON file with optional command line parameters.
cppcms_scale
now can run as Unix deamon and as Windows service.
URL Mapper does not throws by default, but rather create an invalid URL making initial programming easier.
The behavior can be reverted back by setting
misk.invalid_url_throws
option to true.Added recursive
shared_mutex
support to booster.Provided an experimental support of STLPort 5.2.
Comments
Hi guys, looks promising, I'd wondering if you have more detail run-book or deployment guide with other servers with fast-cgi approach! I'd really love to explore more. I'm planning to launch a service (mash-up). But want to put first brick at right place by going with highly scalable and robust system. e.g. erlang or c++!
In the evaluation mode so with limited resources and funds. If you guys can point me to right resources that can lead me to right setup.
PS. I'm techiee but more over MS stack, C++ is primary tool that I have used since last 8 years nor much expertise on Linux. Understand technical aspect and pick up quickly, any guide that help me to setup dev environment would also great, e.g. IDE, Debugging etc.
I'm planning either Eclipse C++ or CodeBlock? Would like to know if you explore MinGW+IDE on windows or you prefer to develop on native.
It would be useful if you can let more light on development part.
So, far I've explored G-WAN (c-servelets), my own C++(standalone), and erlang (ChicagoBoss). Wt++ is good but not a real web platform.
The main reason is that mash up would require to aggregate results from 4-10 different sources so only make sense to have in C++ to reduce computational time with native and robust language.
Do you ask on how to deploy FastCGI service? If so then follow this link:
http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x_tut_web_server_config
If not can't you explain more precisely what you are looking for?
You can use MS stack as well. Visual Studio and Microsoft Windows are fully supported.
Start from the wiki and the "Hello World" example with your favorite IDE.
CppCMS is developed on Linux however it is fully tested on Windows and many CppCMS users actually use windows for development.
Use whatever you feel right. Of course Linux is most frequently used platform.
Start from tutorials and explore multiple examples coming with CppCMS.
@artyom, thanks that helps a lot.
I'm bit cracky on English as it not my first language however I appreciate your efforts to get most of my doubts clear.
One more thing, is there any architecture diagrams or documents?
Some more doubts,
What would be deployable/outcome, a self-contained FastCGI server with all cppcms + customization natively compiled as executable (or service) that need to be configured via other FastCGI servers.
If I develop a product built on your application than that would allow me to support multiple distribution with same codebase? - I assume your answer would be yes.
Thanks in advance.
You guys got some really good stuff here.
One more commercial question (no problem if you would like to drop a separate email for that - email address in meta of comment!)
Licenses to incorporate in propitiatory distribution or free but non-opensource?
You can create fully self contained executable that is fastcgi server and the external web server would start it. Of course you can also run such executable with its own internal web server for embedded environments.
If you develop a product based on CppCMS you can redistribute it according to terms of LGPLv3 license or commercial license for a fee if you need.
Cheers! That helps a lot.
Thanks again.
Hi artyom,
I'm struggling to setup with VS 2010 and compile, have you got project with solution files that I can download or eclipse/netbins/codeblock. I'm struggling for sorting out minimal setup to start with Proof of Concept.
<ol type="a"> </ol>*I mean to say project.conf (e.g for vs .sln, etc) files with correct directory structure that I can open and jump on PoC development.
<ol type="a"> </ol>Do you mean build the CppCMS library or a simple "hello world" project?
Also I recommend you to join CppCMS Users mailing list and start asking questions there.
Sure I'll join group there, it is CppCMS app :), hello world would be next thing!
<ol type="a"> </ol>Follow these instructions:
http://cppcms.com/wikipp/en/page/cppcms_1x_build
If still have problems, ask on mailing list about what exactly do not work.
Add Comment:
You must enable JavaScript in order to post comments.