Geekalicious.pt Geekalicious.pt logo

  • Conditional field validation with ParsleyJs

    • Written by Luís Cruz on September 18, 2018
    • Este artigo está disponível em Português

    In more complex forms it can be useful to validate one or more fields based on what the user selected on another field. For instance, make field A mandatory when the option X is selected and make the field B mandatory when the option Y is selected.

    Read full article
  • Manually set up DNS SRV record for Office 365

    • Written by Luís Cruz on September 3, 2018
    • Este artigo está disponível em Português

    It’s increasingly common to manage the emails of a company with cloud hosting services like Office 365 or Gmail and it’s natural to do so as it reduces the costs of maintaining the server and guarantees a stability to the service that might not exist when using proprietary or shared hosting.

    Changing the email management service requires you to update the DNS records so emails are forward to the new server. Most of the times you just need to update MX record and the TXT spv record but when it comes down to SRV records it might not be that simple.

    Read full article
  • Integrate Multibanco payments with Easypay payment gateway

    • Written by Luís Cruz on November 5, 2017
    • Este artigo está disponível em Português

    Let’s see how we can create Multibanco payment references and how to fetch payment notifications when using the Portuguese Payment gateway Easypay.

    Make sure you’ve read the previous article, and take a look at this package that we’ll use as a wrapper for our API requests to Easypay.

    Read full article
  • Introduction to payments gateway Easypay for Multibanco and DD payments

    • Written by Luís Cruz on November 1, 2017
    • Este artigo está disponível em Português

    In this first article of a series I’ll show you the first steps to integrate Portuguese Easypay payment gateway with your software so you can use Multibanco and SEPA Direct Debit payments in an automated fashion.

    You can expect to see what you should consider and take into account when you need to integrate Easypay with your software. What I’m writing here is a direct result from my personal experience with this payment gateway system.

    Read full article
  • Convert OpenDocument and OpenXML documents to PDF

    • Written by Luís Cruz on November 1, 2015
    • Este artigo está disponível em Português

    In the previous article I’ve introduced you to OpenTBS which is a class able to create and edit OpenXML and OpenDocument documents in PHP, extremely useful for report generation. But what if you need to provide the documents in PDF for the final users?

    In this article I’ll demonstrate how you can convert OpenXML or (preferably) OpenDocument reports to PDF using LibreOffice or OpenOffice. All this using PHP.

    Read full article
  • Create OpenXML and OpenDocument reports with OpenTBS

    • Written by Luís Cruz on November 1, 2015
    • Este artigo está disponível em Português

    It’s a common requirement in web applications to be able to export data to the end users. The most common format is CSV but in more advanced applications you need a complex system that’s able to create reports with charts, tables and in a specific disposition for the users.

    In this article I present TinyButStrong, and OpenTBS, that allow you to create and edit OpenXML and OpenDocument reports in PHP.

    Read full article
  • Choose WSDL operation when you need NTLM authentication in PHP

    • Written by Luís Cruz on September 20, 2015
    • Este artigo está disponível em Português

    After the last article where I’ve shown how to consume WSDL Webservices with NTLM authentication, I present a particularity about that method.

    The difficulty occurs when there’s more than one WSDL operation with the same name (that is, there are overloaded methods). When you don’t need NTLM authentication, the solution is rather simple, but when you do need NTLM authentication you need to be a little creative.

    Read full article
  • Consume SOAP Web Services with NTLM authentication in PHP

    • Written by Luís Cruz on July 26, 2015
    • Este artigo está disponível em Português

    To be able to consume SOAP web services with PHP you need to install the PHP-SOAP extension. However, the SoapClient class provided by that extension does not allow NTLM authentication.

    Before we go into the solution I would like to thank Thomas Rabaix for his blog post on March ‘08 about the subject. Indeed, his post is the real source for all the solutions online. If you hadn’t read the article I suggest you to do so.

    Read full article
  • Integrate SonarQube with TeamCity and Redmine

    • Written by Luís Cruz on July 22, 2015
    • Este artigo está disponível em Português

    For the past weeks I’ve wrote a series of articles on how to create a continuous integration server which began with the article Tools for a Continuous Integration (CI) server for PHP projects.

    You can automate much more than what I’ve shown in this series of articles, specially front-end processes or automated tests and I hope you got to a point where you can investigate and start to tweak the continuous integration process to match your needs.

    Read full article
Next posts
  • About the blog
  • Your personal data (Privacy)
  • Tags
  • RSS
  • © Geekalicious