I have been a PHP developer working with Magento for years. I'm now wanting to work on a project that has no ecommerce component, and as such Magento is not a good choice. After browsing online at the other PHP frameworks, Phalcon is touted as the best choice in terms of performance and resource use.
The main drawback I've heard is that because it's programmed C, it's hard to debug any issues that may reside in the framework. Have any PHP developers found this to be a major issue? If so, what debugging tools would you suggest to address such issues?
Thanks for your time in advance.
In short: No.
If you want more info about Phalcon, read on.
I've done http://oisie.com/en with Phalcon+mysql. Now I'm building new software with Phalcon+MongoDB and one Phalcon+Mysql. I'm with Phalcon for more then a year now developing almost every day and I can tell you, there is no such debug issues. At least I haven't had any. Phalcon is very solid framework and works blazing fast. It has all it needs to have. Developing is also very active, they are building new version already and the best part is that there shouldn't be any pain-points with Phalcon while updating it on your machine.
If you like pre-generate folders and files, you should check out this repository on github:
https://github.com/phalcon/phalcon-devtools
I've updated IDE stubs to newest version to get auto-completion working. You can find those here:
https://github.com/phalcon/phalcon-devtools/tree/master/ide
My experience with Phalcon:
Easy updates of framework. Just update your apache's or nginx's module and that's it.
I haven't had any issues after update of framework. Try develop anything with Zend v1.x and update it to 2.x You will have to update a ton of your code.. With Phalcon there is no such problem. I think it's very important in long-term projects.
My IDE is not filled up with 5000+ files of framework, so it works faster while developing.
Phalcon is precompiled, so it's fast because of low I/O and compiling. I saw guys who made server response ±40ms with Symfony, but it was such a challenge for them.. With Phalcon it's just daily stuff. You have 20-60ms response from server without any extra caching layers.
It saves money. Less CPU + less RAM = less $ for servers.
I've tried Zend and Symfony. Also years ago was working with Joomla, Drupal and WordPress. Phalcon is my main framework now and after it and don't want to look back :)
If you are starting up with Phalcon, should find useful things on my github acc: https://github.com/stars/liesislukas
Have fun ;)
P.S.
Phalcon 2 progress: https://github.com/phalcon/cphalcon/wiki/Progress-2.0
Phalcon 2 is written with Zephir (language to build apache/nginx extensions): https://github.com/phalcon/zephir
I've tried writing my won extension with Zephir and it's really easy to do :) I never liked C family languages because of it's strict stuff compared to PHP. And Zephir is language, which is familiar to PHP, but you write apache/nginx extension with it. So if you even not using Phalcon framework, but you have some heavy tasks, you can easily write precompiled extension for it. Play with it ;)
Related
I’ve been using Yii since version 1 … I’ve done lots of projects (i’d say about 50). I know Yii.
But I am being disappointed.
Yii was glorious and wonderful in 2014-2017, but after 2018 I’m not seeing same activity.
Forums are useless, old, inactive … there’s not more Yii2 extensions or modules. Everything is “old”, unfinished, discontinued …
Now I’m facing changes in my life as coder, and I was wondering whether to wait for Yii3 (because it will be a revolution), or to switch to Laravel.
Sincerely… what do you think if this “Yii environment” situation ?
Please, I would like comments from people who really know both environments, not only Laravel lovers.
Can you anyone tell me a WORKING and UPDATED extension
for social networks that works PERFECTLY ?
yii2-usuario was the best … WAS … linkedin works sometimes, facebook are not updated, and there’s no newer social since 2016
can you tell me other for datatables ?
nullref has awful support since it’s everything rewritten in Javascript so you can’t access properly relations and subrelations of models
for payments (stripe compatible for example) ?
for…
and so on…
These just last 3 examples has beautiful, crazy updated and reviewed plugins in Laravel, for example. Or even in NodeJS.
2amigos and kartiv were two perfect partners for Yii2 core … but they are not being continued … so they are pretty old
Anytime I search for any “extension” in github, all projects are 4 years ago (the newest!).
By the way … Yii3 started in 2019 … 60% done so far … and can’t be used yet for real working projects in live. So … waiting 2 years more with this so empty market of extensions ?
Let’s be clear, my problem with Yii is NOT the core (Thank you Sam and others for your infinite work!), but the community, extensions made (and/or updated) and “movement” of the ecosystem.
I know I can code myself (i’ve done lots of extensions), but it’s easy as a coder when you have good repositories with pretty new extensions and solutions, and a very active community behind. This forum has about 150 posts this year. Laravel (for example, 150 posts represents just the last 4 days). Have you notice tons of posts here with 0 replies ?
Also, Yii coders was easy to find in 2015 … now it’s 1 out of 100 maybe.
Let’s assume Yii environment has decreased drastically in the last 4 years.
I would suggest to move to laravel.
As yii and laravel uses almost similar behavior on basic level
MVC, Based on symphony, ORM
I honestly think you'll easily grap what laravel is offering.
Plus, laravel is upgrading day by day.
The answer to your question lies in your question .
Big community, Wonderful documentation, Enjoyable coding, Lot of feature and package, Popularity and ... all of them can describe Laravel.
Do not doubt and take a deep dive.
If you worked with Yii2, you should definitely use Yii3.
I'm using it for minor projects and I'm learning a lot.
The advantages are the same as always
Very fast (surely faster than Laravel)
Very complete
Very customizable
Very standard and modern (A bit difficult to start to understand it)
I recommend you to start with the demo application (it's a blog) or the base application (blank)
What's with the packages?
That on Yii2 you can only use Yii2 - compatible packages? take any package and use it, use the dependency injection container.
If we talk about the fact that the framework is outdated, then yes there is such ...
I myself wrote more than a dozen projects on Yii2.
I didn't really like Larevel, my opinion.
But the symphony, on the contrary, I was very pleased with.
Mobile App Development
-Native (java,swift)
-Xamarin
-React Native
-ionic
-what else?
...Which should I choose to use in the future and why?
I'm Thai ,Sorry for my language ...Thank U
From my experience (So i might be wrong on some stuff):
-Native (java,swift):
native languages are cool is you have ressources(as employer), like time and money. Because you need 2 programmers to do 1 app on both systems. As programmer, these skills are valuable for your future employer but you (most of the time) can't do both (java and swift)
-Xamarin:
In my opinion, xamarin used to be cool when there was no "hybrid" solutions, it was really better than cordova in terms of performance
-ionic:
I spent a lot of time on ionic and the actual framework is pretty cool, big community etc. But actually, the performances arn't really good. I used Ionic for my prototypes where I didn't need to have a perfect native feel. Plus, Ionic is great if you already know a bit of HTML / CSS / JS. You can do a good app in no time.
-React Native
I switched to react 6 months ago and it's way better than Ionic. At first, the architecture is kinda hard to get but once you to everything is faster. The community grows really fast so does the plugins. The framwork is growing fast and the updates are frequent (about 1 by month) There's also the Expo tool who help's you to build on android and ios painless. The only problem with expo is, you can't use plugins who needs a reack-native link yet. Some of them are implemented over time but there's still some work for that. The Expo team is doing a really good job at giving us a tool that makes our deployements and framwork upgrades painless.
Hope it helps :)
Currently, Im in the evaluation process between MVC CMS , I like the clean way in coding of the UMBRACO 7.0.x , with the many W3C standard which implemented there.
Recently , I found that Drupal has new release 8.0 , which has new architecture supporting MVC.
As I'm totally new to Drupal world , I would appreciate any feedback about Drupal 8.x Release From different views such as :
The learning curve and first setup and configuration..
agility & Customization
extensibility with plugins
performance & scalability
security
Community support
Any extra view points would be also appreciated...
I'm not a guru of Drupal.
But I can say about Umbraco -
The best community - our.umbraco.org
Latest technologies - Angular, MVC.
A lot of free plugins = http://our.umbraco.org/projects
Documentation - http://our.umbraco.org/documentation
24 days course - http://24days.in/umbraco/2013/
Umbraco Cloud - new way of developing web-sites with Umbraco - https://umbraco.com/cloud
Fully customizable.
Free learn Umbraco course - https://github.com/kgiszewski/LearnUmbraco7
I'm not guru of Umbraco. But I can say a lot about Drupal 8.x which I use for the last 8 years now.
First of all here is an overview of the new 8.x capabilities which are really amazing and move Drupal to the new age.
On individual topics now here are some helpful links.
The learning curve. It may be longer than usual but it deserves the
time. See
https://www.acquia.com/blog/conquering-the-drupal-learning-curve/25/06/2015/3285296
First setup and configuration. Easy enough for a developer. Give it a try here: https://simplytest.me/project/drupal/8.2.3.
Agility & Customization: By far the best fieldable and fully customized framework. You can create fields for displays, add user permissions, show results from the db and many more and all these through a UI.
Extensibility with plugins: https://www.drupal.org/8/platform (3rd party libraries), https://www.drupal.org/8/standards, https://www.drupal.org/project/project_module and an issue queue for each contrib module (eg https://www.drupal.org/project/issues/pathauto?status=All).
Performance & scalability: http://buytaert.net/making-drupal-8-fly
Security: https://www.drupal.org/security and https://www.drupal.org/security-team. By far the most secure open source framework.
Community support. https://www.drupal.org/community (By far the most promising and helpful software community on the web.)
Don't forget to check the licenses (not only for core but also for plugins), the OS supported and some additional resources such as:
umbraco vs. Drupal comparison
Comparison of the usage of Drupal vs. Umbraco for websites
Newb here learning rails... any advice/comparison of community engine v. social stream? I'll be writing a dating site, so especially if either lends themselves to that development I'd appreciate the advice.
I have tried CommunityEngine in the old days. Currently to use it with rails3, you will have to use a specific branch mainly updated by the community to make it stable. i'm not sure if that rails3 branch is production ready yet.
I don't know community engine, but have been looking at social stream and it looks very well put together.
We upgraded social stream to a mobile platform by exposing api end points - it took a couple of months. We built separate controllers for each call rather than modifying the core classes. The platform is now flexible enough to cater for any use case and we can hook in to updates on the trunk. It's really well thought architecture and has had iterations of refactoring. (I think the webviews / javascript is a bit of a mess though)
I suggest you have a look at this - it took my tech lead a couple of weeks to be comfortable with this.
https://github.com/ging/social_stream/wiki/Social-Stream-Base-database-schema
WRT communityengine - I abandoned this over 4 years ago.
https://github.com/jdp-global/communityengine/commit/31f9b267706157a63bfc103a290bd6e3d874066a
Any platform you choose needs to have a focus on APIs / web services.
I'm starting a journey with CMS. I would like to create a few simple web sites: my pastime blog, programmres blog (but I would be something more than just a plain blog) & three web sites: for my father's & uncle's shops + simple web sites that helps to learn English :)
When it comes to by programming background, I was PHP developer for 2 years so I thought I could use that experience. I found WordPress & Joomla as probably the two most popular platforms. However WordPress is usually recommended as best bloogging platform. What about being a CMS? So perhaps one of them is better as CMS? Or there's something else ever more suitable for my needs (Drupal)?
On every day basis I'm ASP .NET MVC 3 developer, so perhaps you could recommend a good MVC3, active CMS project?
EDIT: How about ASP Project: Orchard?
I would always advocate Drupal over Joomla for CMSs. They are similar in what they offer. WordPress in more beginner friendly but is (currently) less "customisable" and has a different, more blog-oriented, focus. Drupal is very full featured and is easy to manage and install. I believe Joomla is getting better with the release of 1.7 and/or 2.5LTS.
Drupal's community is more comprehensive and as such you get plenty of support. You can choose a very wide range of functional complexity with Drupal that you can't with WordPress. Joomla is similar in this regard but there are a few key things that I prefer from a development perspective with Drupal over Joomla:
Modules and plugins are more plug and play with Drupal and easier to manage.
When you develop a module in drupal you there are code "hooks" to bind to the core where as Joomla you extend the core
The drupal website admin is more intuitively designed and easier to manage modules etc.
Installation and update/upgrading of Drupal is more universally developer friendly (i.e. you don't need to be an expert and if you aren't you are not too likely to destroy your sites!). That said Joomla seems to be starting to follow Drupal more closely now so it will probably start getting better.
The main reason I would advocate Drupal for your needs it your requirement for a variation of functionality. You can enable and disable functionality very easily in Drupal and you can drag and drop themes etc. with ease. I use Joomla every day in work and my experience Drupal is king!
It's not very difficult to use WordPress as a CMS. A good resource is http://digwp.com/. The blog itself should help, but the Digging into WordPress book has a chapter about how to turn WordPress into a CMS. The great thing is you'll get a lifetime subscription of the book, so when new versions of the book come out, you will get the updated PDF for free.
My personal preference is with WordPress. It seems to have the largest user community, which means more answered questions, more plugins, more places to find cool themes, etc.
If you have PHP experience, it's probably your best bet.
As far as WP being a CMS, it has definitely goot the tools you need for a fully functioning website. A lot of the times I use WP as a CMS for clients, because it's so easy for them to catch on, and there is always a way for them to google any question they might have and find an answer without having to contact me for support.
Additionally, WP is great if you know some PHP code and can write your own custom plugins.
There are TONS you can do with it. Take a look at the most recent change log. It's got some great stuff.
http://wordpress.org/ for more info and download.
As far as ASP CMS, I've used Sitefinity in the past (only because I HAD to for work). I didn't find it to be nearly as intuitive as wordpress, and frankly I just don't like ASP. I find it to be clunky and not nearly as easy to modify and theme as PHP. Just my personal opinion of course.
Also, I'm not sure Sitefinity is free, so there is always that to consider. I'm not sure there are many free ASP CMS options as there are for PHP.
Although for simply blogging WordPress is the leading choice, for a CMS I would go with Joomla. There are many extensions that you can use with Joomla, the templates are very easy to edit if you have past experience with PHP, and the native CMS that it comes with is very verbose. Joomla has a strong community behind it, and they support many different aspects of a CMS and are constantly adding new features. Implementing a Blog in Joomla is very easy.
WordPress is certainly the leading choice... if you weren't wanting to use your developer skills. Writing a plugin for WordPress is rather agnostic to programming style (or ability), and is great for entry-level designers, but if you're looking to apply your MVC skills, of the two Joomla would be the choice.
The reason I say this is that Joomla more or less forces extensions to be MVC compliant. They also have a very strong and healthy community (the WP community in comparison is cut-throat, dog-eat-dog, the loudest-jackass-wins kind of a thing) and recently have abstracted the PHP framework layer away from the CMS, so if you're into really hardcore architectural web application coding, you can play with just its framework independently.
WordPress == get it done fast, elegantly (novice & designer focus)
Joomla == get it done right, with some work (business, programmer, and hobbyist focus)
Drupal == build every function of your site from the ground up, then rebuild it again when the next version comes out (engineer focused)
Bottom line is that you won't find good MVC driven CMS at this point in time. I have done very similar research and went through a range of vendors (both commercial and open source).
Yes, Orchard is available and based on your requirements it might be up to the job, however, I'd say that it's mainly for small size businesses that want some basic content management functionality.