I am a cakePHP novice and am attempting to learn by examination of a working model. So far I have downloaded two cakePHP 3 examples. Both were missing a \vendor\autoload.php component. Can anyone point me to a cakePHP 3 example that works "out of the box" without any additional setup required for the novice user ?
For XAMPP needed changes in php.ini uncomment
extension=php_intl.dll
Related
Hi & many thanks in advance.
I was demoing a new project for a client (written in Laravel 5.2) yesterday, when it - very embarrassingly - fell over with a method not found in controller error. Clicking another link to the same controller resulted in a controller not found error. The annoying thing is, this particular controller, it's namespacing & routes have been working perfectly for weeks, since the last time I touched them.
Out of desperation (& in front of the client!), having cleared the app cache, route cache, triple checked namespaces etc, I renamed the controller, & its class name to something silly (so it wouldn't clash with anything), updated its related routes & Bingo! everything sprang to life again!
Although every thing is fine now, it's bothering the crap out of me why this happened.
The only thing I can think of was that Laravel's autoloader got screwed after I installed an imaging package to it under composer the other day, but im fairly new to Laravel so could be completely barking up the wrong tree!
Anybody, encounter something like this, or have any idea what could have gone wrong? Or perhaps someone could kindly help point me in the right direction so I might have a chance of figuring this out?
Any assistance will be very gratefully received!
Cheers, Mike
Yeah i think you are right that the autoloader must have got screwed up somehow. It does happen every now and again to me where some class cant be found. The simple solution is (if the class had previously been working) to re-compile the auto load file. You can do this easily and quickly in composer:
composer dump-autoload
I've been trying to develop a system where an ms-access database comunicates with a brother ql-500 label printer to print a label based on data entered to a form, but for some reason, I am using the documentation for b-Pac, the "plugin" from brother created for this interfacing and i get a syntax error in ms-access, which leads me to think there might be some problem with the references. I checked and double checked and uninstalled the plugin and installed the plugin again, up to no solution...
My question here is, is there a way to check the references to see if it is the right file?
Im very new to access programming and this was asked to do in work...
EDIT: Over this one now, it was actually bad syntax, as i was refering to documentation from another version of the bPac plugin, it seems they have changed the syntax in one of the last versions...
Now i have another problem, a runtime error: -2147023782(800705a)
EDIT 2: i solved the problem, i uninstalled through control panel and then deleted remaining files manually and proceeded to install the b pac plugin again and it works now, thank you for your help though guys ;)
I am not sure if this is what you are looking for. I haven't worked with plugins so far.
In VBA window, go to : Tools > References
This should bring up the following window :
Check to see if your plugin is refered in there, or use Browse to locate and add it to the project.
Hope this helps.
Does anyone know if there is a media formatter out there to support the jsonapi.org spec (application/vnd.api+json).
If not has anyone started (or looking at starting) a project to implement this?
For the record, as of today the answer seems to be no. Best I could find was this guy: http://www.emadibrahim.com/2014/04/09/emberjs-and-asp-net-web-api-and-json-serialization/ and that only tackles a tiny part of the problem.
I've been trying this for a while…unfortunately I tried to make something that was really smart and would automagically handle a data model from Entity Framework with almost no work. I was getting close to thinking about releasing it...and then I found out they changed a bunch of stuff in EF 6 (all models are supposed to be POCOs and the context is now a DbContext instead of an ObjectContext) and I'm probably going to have to essentially start over…which is why I started looking again to see if someone else was doing it and found your question.
Let me know if you're still looking for this, and I'll keep you updated.
UPDATE
I've just published a codeplex project that aims to provide exactly what I've described above. It's called JSONAPI.NET and while it's very early, it already does quite a bit. Documentation is sparse, and I don't have NuGet packages yet…but take a look everyone and see if it's useful for you. Feedback is encouraged! You can contact me from the project page in the link.
I am using asyncdynamo library to interact with Amazon Dynamo DB. I can successfully get items using get_item() but don't know how to format a query for it. I have tried different patterns but got no luck. The Library itself doesn't have any documentation to provide the information on this.
If someone else has used and made queries using asyncdynamo then please help.
The lack of documentation for Asyncdynamo really kills the usefulness of the project. You might consider using Dynochemy instead, since at least it has some examples:
https://github.com/rhettg/Dynochemy
I am fairly proficient in PHP, but just starting out in ASP.Net and JSP/Java
I would like to learn JSP/ASP.NET XML to HTML transformation with some simple practical examples. Im not looking to learn how to edit XML, just displaying it, but im having trouble finding definitive examples/tutorials.
Ive spent quite a while studying JSP/ASP.NET but quickly find how vast they are and how many different ways there are to do this (quite frankly im a bit overwhelmed). I would be really grateful for advice before I embark upon this journey (and perhaps I will be saved from going in the completely wrong direction). If there are any tutorials or especially example apps you could point me towards this would really help (i like to do hands on learning)
For this I expect I need to do the following:
1) Set up a server for each technology (im using Tomcat and IIS at the moment - are these the best?)
2) Use some parameter based routing system (MVC?, but this is most surely overkill for me)
3) Parse the XML and create some variables/objects
4) Display the HTML (Use template libraries (JSTL? not sure for ASP.NET))
Any tutorials/example apps you could point me towards to help me through the above steps will be truly appreciated.
Thankyou
Ke
By the sounds of your skillset, carefully working through this developerworks tutorial on JSTL looks like a good place for you to start. It does cover the XML handling libs around part 4, and it'll also help you avoid the mistake of using scriptlets where JSTL would give cleaner, less error-prone and much more readable code.
You'll also most likely want IDE support, so that you get documentation, syntax checking and autocomplete. I personally use Eclipse (The EE download will have everything you need and more) but NetBeans might be the most straightforward to get your started.
Tomcat will be fine to get you started, but these IDEs tend to have build in web containers to save you time in deploying and testing.