Category / Symfony

Symfony2 – remember me cookies

Featured Image

hoefi@sxc.hu

When developing web services for mobile devices to handle user log-in, I had to make it persistent somehow, so the user should not log-in each time when starts mobile application, but I rather wanted log in to be permanent somehow while user does not log-out manually. Read more

1

Symfony2 – Guzzle using cookies

Featured Image

rolve@sxc.hu

As seen in previous posts, Guzzle is easy to use php web client library. I explained how it can be used inside controller. But there is one problem more…
If you are using this for example to test log in with cookies based on PHPSESSID, you will get different PHPSESSID for client that runs inside controller then inside your browser from where you making Ajax call. Read more

0

Symfony2 Guzzle basic usage with callback

Featured Image

mrjamin@sxc.hu

In previous posts I wrote about Guzzle php web client. Let me continue to show more about that.

Today I am going to make few different request types with Guzzle to https url with self-signed SSL certificate implementing several request types. Read more

1

Symfony2 – Guzzle using with SSL self-signed certificate

Featured Image

CDWaldi@sxc.hu

In previous post I explained to install and setup Guzzle Php web client library with help of GuzzleBundle for Symfony2.

Now I am going to explain how to use it with SSL self-signed certificate. Read more

0

Symfony2 web client – Guzzle setup

Featured Image

hugoslv@sxc.hu

Once I made some of REST API features/calls in my project, except unit testing, there was a need for me to build some kind of web client inside my project, so I could have a screen with different options to custom build my REST calls and analyze results. Read more

1

Symfony2 DBAL QueryBuilder

Featured Image

ba1969@sxc.hu

Sometimes, when we have some relatively complex queries to write, it’s so long and inflexible statement that it’s pretty hard to understand few days after we wrote it, or we have to add some dynamic parameters or conditions that writing plain DBAL statement could be real nightmare … Read more

3

Symfony2 DBAL array parameters

Featured Image

wimster@sxc.hu

Few days ago I had to use DBAL statement that will execute SQL IN(somearray) statement.

Considering that I used Doctrine DBAL in this part of code, I had to find the proper way of doing it.
I wrote some basic things about using Doctrine DBAL inside Symfony2 project, but I didn’t ever need this one before until now … Read more

0

Symfony2 caching Doctrine2 results

Featured Image

CMSeter@sxc.hu

There are many options developer can use for speeding up web application. But you already knew that…
Let’s skip long introduction and show by example: Read more

0

Configuring Symfony2 to use APC cache

Featured Image

mmagallan@sxc.hu

Symfony2 support several caching systems and one of them is APC cache.

This article is going to be short …. but, everything in Symfony2 is so developer friendly that do not require some huge knowledge to accomplish … Read more

0

Symfony2 custom config parameters

Featured Image

cherrychil@sxc.hu

Sometimes we need to add some static configuration options inside our project that will be accessible from whole project scope. Read more

7