By Yury

Why We Prefer Symfony 2 Over Yii Framework

image

In this blog post I’m going to tell you a story that explain why our team preferred Symfony 2 over Yii which we used for a long time and doing our best to contributed something. How it happened and what caused us to make such a decision.

You might have thought that there was some big meeting where we decided that our next framework would be Symfony because blah blah blah. I’m afraid to disappoint you. The true story is more obvious and trivial.

Initially we were forced to use Symfony 2 as one of critical technical requirements in the project we were going to undertake. So we had a quick look at Symfony 2 documentation, cookbooks, new features etc. At that point in time everything looks very similar. Same MVC concept, just different template engine, ORM etc. Yes, Symfony 2 has dependency injection container but it doesn’t change things much. More over we have a few team members with awesome experience developing projects with Symfony v1.

We knew that migration would not be easy and that we will have to invest more personal time to maintain our normal development speed. We’ve just been open for new experience and another challenge.

CONTINUE READING
By Yury

2013: The Development Stack For Your Next Startup

image Often entrepreneurs ask us same questions: ‘What technology stack should I build my startup on? What do you guys propose? What is trendy now? What frameworks/libs/tools my start up is going to use?’

There is no right or wrong answer to this questions. It’s a decision every company makes for itself, depending on what it’s trying to build and often based on skills of its cofounders. Moreover pretty complex projects uses a whole bunch of tools optimized to effectively solve specific problem i.e. choice of technology stack is based on problems and needs.

This post highlights PHP as the main platform but certainly not all comes down to PHP.

PHP is the core technology in our team and in the last few years we have successfully completed dozens of complex and highly loaded systems, in practice, verified the effectiveness of each particular tool in a given situation. Therefore, in this post I will try to describe the basic and most important tools of our typical project.

CONTINUE READING
By Yury

Scaffolding in Yii: thoughts about Gii

Those who have ever tried using Yii Framework probably heard about auto code generator – Gii. Clients may sometimes offer using it on an early stage for building prototype referring to the fact that somewhere they heard that it greatly simplifies the development process and saves time. I’m not follower of this approach and would like to share with you it’s major drawbacks. At least you would know typical nuances and can better examine your choice.

CONTINUE READING
By Yury

How to deal PHPUnit and http headers ?

If you have ever tried to cover phpunit with some method that call header() function, then you’ve probably faced notice like “Headers already sent”.

That happens because phpunit fetches result for each test after it was completed to give you interactivity of testing progress. To prevent such flow you have to define custom phpunit printer class that would fetch tests summary only after they all will be completed.

CONTINUE READING
By Yury

Yii Composite Form Extension

Extension that can greatly simplify complex forms processing that have multiple relations.

Weavora’s  Git Repo – https://github.com/weavora/wform

Features:

  • Easy composite form processing
  • Fast configuration
  • Support of all standard relations: has_one, belongs_to, has_many and many_many
CONTINUE READING
By Mike

TurnAPI: Weavora’s Creative Experiment

Are you familiar with the situation when launch of a project is shifted only due to the fact that API documentation wasn’t ready or something like that? Maybe you had to spend a month developing documentation about user’s management or access rights with the help of sophisticated editor? Are you working on documentation and got stuck in this routine?

Have you answered “Yes” to all questions above?

CONTINUE READING
By Yury

Yii Framework – Access Control Filter

This Yii Framework extension is used to extend standard abilities of build-in Access Control Filter. It is fully compatible with native access control filter, support all access rules and do not require it’s changing upon setup.

Features included:

  • Standard access control filter features (100% compatible with native rule-set)
  • Custom access rule support
  • Success and fail events upon rules validation
  • Resource access control term

GitHub Repo

CONTINUE READING
By Mike

Weavora + Yii Framework. Why we made this choice?

Very often our clients ask why we prefer Yii framework, rather than Zend, Symfony, CodeIgniter or CakePHP. In this post I will give you detailed answer. Jumping ahead of myself, I would say that most arguments are just our subjective opinion and we do not claim to any know-how.

CONTINUE READING
By Yury

Yii Framework – Private Messaging Extension

We noticed that among the numerous existing extensions for Yii framework there is no suitable module for private messages, thus we decided to write our own.

Now we are glad to share the result with you.

Read & Download GitHub Repo

CONTINUE READING
By Yury

Yii Framework – An Easy way to split Javascript from HTML

Rich Internet Applications are in great demand in today’s technology-infused world. None of modern web applications can deal without using Javascript. Effects, smooth transitions, pop-ups, Ajax calls – all these requires writing quite a lot of code, even if it is mostly third-party plug-ins and libraries initialization. Using MVC pattern (which is a MUST for most of the frameworks) you can write Javascript in a View but this approach has many disadvantages such as problematic code obfuscation or quick assembling of entire project Javasctipt while transferring it to a separate server – all these will cause difficulties.

Today I would like to share the way we organize JS files for the project in our team.

CONTINUE READING
1 2
So you just want to say hi? Great!

While we can’t guarantee we will have the time to get back to you, we love to hear from the passionate people out there.

Thank you for contacting Weavora!

We will get back to you shortly. Sometimes if we are quite busy it may take us longer than anticipated, but we promise to get back to you.