Category Archives: PHP

ANN in Python, JavaScript & PHP

Neural networks graphicNowadays you see artificial intelligence (AI) everywhere. It suggests search terms in search fields, recognizes faces on photos, targets ads, and even gives “personality” to your smartphone/tablet.

One of the most common types of AI is the artificial neural network (ANN). As long as full-fledged neural devices with computing parallelism are not yet commonly accessible, building one on conventional computer architectures is fairly easy. Due to the resource-heavy training algorithms required by the most ANN structures, including the popular Feed-Forward Back Propagation NN (FFBP), it is better to build core ANN functionalities in low-level languages. However, there are a few options for using scripting languages. This is a short survey for my favourite scripting languages: Python, JavaScript, and PHP.

Continue reading

OUT NOW: WordPress 4.4

WordPress logoWordPress 4.4 – dubbed “Clifford” after jazz trumpet great Clifford Brown – is out now with some significant improvements. Along with better responsive image handling, the RestAPI has been better integrated to give “developers an easy way to build and extend RESTful APIs on top of WordPress.” The clean “Twenty Sixteen” theme is also a new addition, promising even better responsive design across platforms. Check out the teaser video from the folks at WordPress:

Continue reading

Using WebSocket with Drupal

Drupal TipsDrupal is written with PHP – a language that has quite a few limitations: request-response logic, one thread per request, no shared-in-memory variables between requests, among other strictures. PHP is easy and fine when you only need to render HTML pages, but what if you want to add real-time applications like chat, streaming analytics, or document collaboration? For these, a better approach is to use the WebSocket protocol. Languages like Java or C++ support this protocol in their core, but not PHP. If we want to develop real-time applications, can a Drupal website avoid writing some part with Java or C++ or using third-party products like Google Cloud Messaging (GCM)? The answer is yes.

Continue reading

Keeping your blocks straight

Drupal TipsDrupal 7 projects utilizing Contexts for placing blocks tend to grow quickly and have many, many different contexts – it can get really confusing! Utilizing a smart naming convention (like Phase 2’s) is an absolute must. But if you’re on a project with several developers, even a coherently, clearly named context structure can still cause headaches; you might still have to search and open up contexts one-by-one in order to locate a specific block.

For those of you using the Devel module, here’s a great way to increase efficiency and speed things up! Just use the following code snippet:

You can place this snippet anywhere in your code or go to to run it from there. In fact, you can use this snippet to search for all sorts of reactions – just modify the filtering options!

Calling all WordPress Developers!

WorePress logoIf you’re skilled in front-end Web development – HTML5/CSS3, JavaScript – and have a couple of years experience working with WordPress under your belt, we need you now! We have immediate, full-time opportunities in New York City for smart developers to join an established team of passionate, open-source-centric engineers. If you’ve worked with Google Publisher Tags, and have a little PHP experience – so much the better!

To apply, please email your resumé to today!

Click here to review all of our current job listings…

Storing sessions with Drupal

Drupal logoWhen developing a Web app with PHP, especially when using a framework or a CMS, most often you just don’t care about sessions. Less frequently, you store and access some information from a session, accessing it via language constructs (like “singleton” object (e.g. ZendSession  in Zend framework), some special wrapper functions or just $_SESSION  global). More often, though, you don’t bother monitoring how and where sessions are stored. But sometimes you should.

The basic purpose of this post is to talk about how, when developing a high-load website, to allow users to log on and access some personalized information. When you have hundreds of thousands hits per day, you should expect that tens of thousands users will log in to their respective accounts. That’s when you need to start caring about session storage. Continue reading

Drupal developers needed now!

DrupalIf you have excellent front-end Web development skills – HTML5/CSS3, JavaScript –  along with a couple of years of experience building sites with Drupal 7, we need you now! We have immediate, full-time opportunities in New York City for Drupal coders looking to join an established team of passionate, open-source-centric engineers. It’s all about smart solutions to problems as they arise…

To apply, please email your resumé to today!

Boyle Software wants you!

Boyle Software technologiesBoyle Software continues to roll with great project work for our clients both new and old!

Most positions are based here in New York City or nearby in the tri-state area. Smart local developers with a passion for open source technologies should check out our various opportunities and email us their resumes!

We’re looking for both back- and front-end Web developers and mobile engineers, drawing on a wide array of languages, frameworks, and platforms: Java, PHP, MySQL, MongoDB, iOS/Objective-C, JavaScript, AngularJS, NodeJS, HTML/CSS, SaSS, etc. Sound like the stuff you like to use or want to learn? Send us your resume now!