I am into studying reactive architectures right now. I was reading to build scalable architectures for web applications. I just ran into an article which I could not resist to read even though it’s about Android development:
Today I needed to dynamically modify wordpress navigation menu from a custom plugin depending on some conditions. I couldn’t find the solution. So I read the codes which renders navigation menu on wordpress to remove some items from menu on-the-fly:
I was setting up my wordpress development environment in windows today. I wanted to have php unit tests for the plugin I have been developing for a few days, and I ran into an article which says wp-cli.phar cannot be used in windows! The article was about using PHPUnit to write wordpress plugin unit tests.
Some mis-conceptions that might lead to logical errors in Golang Code.
I will be writing about some very easy to make mistakes in Golang and which can be very hard to debug without verbose unit testing. Read More »
I needed to create a dynamic gallery yesterday. I could easily create an ImageView and add it to a container. But it was hard to set layout parameters to the image. I needed it to position it correctly. Most important need was to set its width as MATCH_PARENT. It can be done by setting up a proper LayoutParams object.
Here I will list the consistencies or problems that I ran into working with Content Values and SQLiteDatabase in Android.
I was learning android fragments. I made a separate layout for large screens.
Now I am calling updateArticleView() from MainActivity which is actually updating the Text View inflated by the ArticleFragment. I am getting NULL by this line
But getView() works fine and I can update the text. I printed the view hierarchy and it has the element, but somehow findViewById of the activity cannot return the object. Application is working. I posted the problem to stackoverflow. Let’s see someone can solve the catch.
I host my prestashop installations in nginx and I always use seo friendly urls in prestashop. Now, to use friendly url in nginx server, you will need to manually add the rewrite rule to your server location block.