The symfony-cmf documentation is a nightmare, it is really hard to understand and it seems that many of it is outdated.
I think I have understood the routing concept, but I can't figure how to implement it, clearly.
How to register a router?
How to setup dynamic routing?
How to persist a document and map a route?
FYI 1.1 was been released and the documentation has been updated accordingly.
I am sorry to hear that. If you run on 1.0, things should not be outdated, except for some cookbook entries which have a note at their head. The 1.1 documentation is not online yet as we currently can only publish one version of the doc. That is only available on github.
Your questions however are answered by both versions:
http://symfony.com/doc/master/cmf/bundles/routing/introduction.html#loading-routers-with-tagging
http://symfony.com/doc/master/cmf/bundles/routing/dynamic.html - also the sandbox is a good example to see this in action
http://symfony.com/doc/master/cmf/bundles/routing/dynamic.html#the-phpcr-odm-route-document
If you have inputs how we can make it easier to find the way through the doc or at which point in the quick tour / book you got lost, please open issues (or even better pull requests) on the symfony-cmf-docs github repository.
Related
I'm using aws-amplify package in my website using cdnjs. But i want to clear my doubts regarding security. I have searched on google but not found how any package is added to cdnjs. I just only want to confirm there is no middle man between aws-amplify and me. Please can someone explain me how packages are added to cdnjs and how to check the information regarding that.
clear my doubts regarding security
The About Us page for cdnjs states that they are powered by Cloudflare.
You're pretty much using one of the safest CDNs out there.
how packages are added to cdnjs
You won't find any information on that as they simply just compile/publish the open-source code available on GitHub. There's no other way.
You have no reason for any worry.
Can anyone tell why Riak website is not working this time from a few days.
http://docs.basho.com/riak/ts/1.5.2/using/core-fundamentals/
this link of riak is not working.
Shahzad, Basho as a company doesn't really exist any more (https://www.theregister.co.uk/AMP/2017/07/31/end_of_the_road_for_basho_as_court_puts_biz_into_receivership/) so it might be related to that. If you are relying on resources provided by Basho you might want to make copies of those resources before they vanish forever.
Update: Looks like the resources have been acquired and everything will get open sourced soon. See: http://lists.basho.com/pipermail/riak-users_lists.basho.com/2017-August/019500.html
We (my company) have hosted a mirror of the docs generated out of the basho_doc project. Feel free to use:
https://riak.docs.hw.ag/
Riak documentation is still accessible via the basho_doc GitHub repository.
And particularly the document you are looking for https://github.com/basho/basho_docs/blob/15a97f6a2c82f77e8248d5151171bd2f7b88e11b/content/riak/ts/1.5.2/using/core-fundamentals.md. It's not as nice as a Web page, but still readable.
DukeScript looks like a life saver for we Java guys! I am considering it for a serious project. Was curious to know whether it's production ready and well documented. Also, liked to know what would be the best way to support routing in a web application.
I asked this question at the official google forum, but didn't get a reply. So, thought to re-ask here.
Here's a blog post with a little example. It shows a simple integration of location hash based routing with knockout templates. The full example code is available on github.
You might also use one of the javascript libraries like sammy or pagerjs, which would require integration with these frameworks, but I wanted to keep it simple.
as stated - it needs to be a "self-update" similar like Wordpress... I haven't thought through because of my knowledge limits... (I haven't found any good answer from the web yet /asp.net c#)
anyone can give some help/ perhaps some code example would be better?
Thanks in advance!
I dont have the code, But i can tell you the general concept behind that.
Keep a public API/ Webservice which returns the latest version number of the site/ app.
In your website/ app, add a method which makes a call to this service to get the latest version number. compare it with what you have in your local application. If the one you received from the service is different than the one you have, That means there is a new version available. Then show a link to download the latest version.
So, this does not necessarily have to do directly with the code itself, although it is certainly a component of it.
I recently downloaded and installed the PayFlow Pro SDK for use with ASP.net
link here:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks
I installed this to my development machine. I also came accross this example code which I figured outlined the primary setup for basic Paypal Credit Card Transaction functionality.
link here:
http://www.codeproject.com/KB/aspnet/PayPal_PayflowPro.aspx
Anyways, I have two main questions
Do I have to install the SDK on the web hosts server in order to utilize the functionality of it? This seems to make sense, however, the tutorial in the second link suggests I create a web reference. Unless I am not understanding something here, wouldn't this just strictly work on my development machine, or at least, the functionality of the remote website that references this web reference to access the sdk, would this not be dependent on my computer running and broadcasting this information?
I just need clarification on how to install and/or access the sdk for use on a remote webhosts server (ie. do i need to install the sdk on the web-hosts server and if so, how would one go about doing so (ie. where to install, how to install)?).
Are there any other clean cut examples like my second link provides, that sort of outline the basic functionality of Payflow Pro? I find paypal's examples numerous and convoluted and their online slides/video tutorials to be tedious.
Perhaps I should just get off my lazy ass, but I have found peers from the general community to be much more informative in a way more efficient manner, so any help would be greatly appreciated.
Thanks!
For anyone interested, after enough searching I found a great example that notified me of all the fundamental processes to creating a basic transaction and allowed me the knowledge to further manipulate the sdk.
Check it -
Code Projects PayflowPro example and introduction.