does magnolia implement struts? and If i have something with struts its easy to integrate? - struts

I am very new in magnolia and I still have some difficults getting the idea to develop components, but my problem is that after read the docs offered in the site (I wonder if there are other kind of docs, as only for developers) I still dont get if they use Struts or not, at first I thought so, but I am not sure at all, could somebody tell me this? Just to know be clear.
Thanks

I see nothing resembling a Struts 1 or Struts 2 signature anywhere in any of the Magnolia artifacts. I'm not sure what made you think it used Struts, and downloading their CE it was a simple matter of looking at the deployed jars to see that it didn't.
I also checked a couple of the Magnolia libraries to see if there were shaded versions and I saw nothing of note. While I didn't spend much time on this (~five minutes) there's nothing obviously Struts-ish.

Related

Bigcommerce Stencil - What is Required and Help Setting Up

I just got access to the new Stencil beta and I have no idea what to do. I have reviewed all of the documentation on the BC developer website, but I don't know how to proceed. I am also not sure if I will even be able to create designs in Stencil since I don't know Handlbars or json - are those programming skills required or can we still rely on CSS and HTML for most design customization? BC told me there is no support for getting set up and to ask in this forum instead.
Normally I would look under the hood of an existing theme to see how it's built and try "learning on the job" but since I can't even get access to the files, I am at a loss. I created an account on GitHub but I have never used it so I don't know where to look for the files (I did a search but there are thousands of files there and I again couldn't figure out where to start). Can anyone point me in the right direction so I can determine if using Stencil is even feasible for my projects?
Handlebars compiles serverside as HTML. You do still have stylesheets, but we are using some SASS custom functions (documented in Stencil docs).
I'd recommend taking a look here: http://blog.teamtreehouse.com/getting-started-with-handlebars-js

PHPStorm for Hack Language

I am kinda of a new user here and don't have enough reputation points to comment/ask on this question: IDE support for Hack Lang.
So, I am hoping that since the last entry provided by Themis Beris someone has been able to get PHPStorm working properly with Hack. I followed the 3 steps described in the post I mentioned, but still get compile-time errors on the classes I've written using Hack. <?hh is not recognized, for instance.
Any suggestions as to how to get PHPStorm playing nice with Hack?
I have no idea what Themis Beris is talking about on the linked question. (He seems to be saying something about PHPUnit, which is a completely separate issue.)
JetBrains has a feature request open for Hack support and last I heard was very actively working on it. But as of this writing (Feb 2015) it's not released yet.

Google NoCaptcha ReCaptcha

If correct, Google introduced Google's NoCaptcha ReCaptcha on december 3th. More information can be found on their official blog.
After reading their story, they refer to their good old ReCaptcha site. Seemingly this has been renewed. So I created an account and started testing. However, I already stumble on two questions that don't seem to be answered on their own site. Google-ing results in old and mostly useless information about the "old" ReCaptcha module.
The thing is not responsive. This seems weird to me. I know I can make it responsive or use a framework or something to do so. But all the HTML / CSS is generated by the plugin itself. Is there some universal solution for this, or Am I missing something?
Sometimes clicking the checkbox is all that's needed, but often I still get the old misformed pictures that are still hard to read. In other words, sometimes it looks like nothing has changed. Is this normal, or is this thing not fully released yet?

System.Web has been removed in ASP.NET 5, so how do I find the new places?

So I jsut managed to deploya very basic MVC site on Ubuntu, behind nginx served by kestrel. Fantastic.
Now I just wanted to do a simple thing like show the visitors reported IP address, just for fun. You know, I want it to lead up to SQL/MySql get the whole feature set going on within Ubuntu.
But System.Web was removed from aspnet50 and broken down and you cannot just access System.Web.HttpContext... or Reaquest.UserHostAddress()
I can see #Request but I doesnt have all the properties I would be expecting.
How do I find... or am I supposed to find which dependency to add which contains that feature or any other feature I might be looking for from the full .NET 4.5 MVC?
To quickly find out which package might contain a type you're looking for, check out the totally unofficial Reverse Package Search. Just type in something like IPAddress and you'll get a list of packages that are good hints.
It's of course not 100% reliable, but it's better than guessing.
If you have JetBrains' ReSharper, it also provides context actions to find a namespace or a type on NuGet:
http://www.jetbrains.com/resharper/help/Finding_Exploring_and_Installing_NuGet_Packages.html

Where can I find up-to-date documentation about the WCF Web API?

I've been strugling with WCF to do REST the way I want it to work. And apparently so has quite a few others. I've heard about the WCF Web Api project, but wrongly dismissed it without looking too closely at it. Sadly, now that I'm looking at it I find that the documentation is rather outdated. Like, this blog post has some nice information, but classes have changed, parameters have changed, in short, design has changed.
So I've been using an old example of how to plug in Json.NET (newtonsoft) as my serializier, only to realize that after I had it working, it wouldn't work for my IErrorHandler. Further I had a problem with how to Deserialize a string from the uri template to an operation Type parameter.
It appears however that I should be able to solve these two problems (and presumably many others that I haven't stumbled over yet) by using the media formatter extension point and what's referred to as Processor<..>s in outdated documentation, which is now HttpOperationHandler<..>s unless I've missunderstood.
My problem is rather basic, I can't figure out how to correctly configure my IIS-hosted app to use my operation handler, assuming I've implemented it correctly. Since it feels rather dumb to ask for instructions on such a basic thing, I'll rather ask where I can find some documentation on how to do this sort of thing? (Explanations are welcome of course.)
I'm not after seing which classes exist, or what their methods are named with what parameters. I can see all that in my object browser. I need documentation for the overall design, and/or examples implicitly describing things like:
How do the different classes in the API fit together?
How can I configure from web.config?
Must I rather do a custom HttpServiceHostFactory?
What and how are you meant to use the framework?
How should I extend to reach what sort of goals?
How should I configure to place the extensions in effect?
From the lack of answers I assume the documentation quite simply isn't ready.
I was looking for it on the codeplex site under the Documentation tab, and found outdated stuff.
However, after familiarizing myself a bit with Codeplex I found out that the good stuff was in this Discussion section. Searching a bit in there helped a lot to be honest.
Concerning config-file configuration, I didn't find anything, so I'm assuming this will be added as the last thing before official release. Meaning I'll use the HttpConfiguration in a custom HttpServiceHostFactory for now.
The trick about the HttpOperationHandlers was twofold: Firstly I was throwing an exception in my operation and hadn't implemented a global HttpErrorHandler yet. (Doh!) Secondly I didn't know that the parameter name of HttpOperationHandler<..>.OnHandle had to match the name of the operation parameter.