Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home1/douglav3/public_html/wp-includes/functions.php on line 6170

Warning: Cannot modify header information - headers already sent by (output started at /home1/douglav3/public_html/wp-includes/functions.php:6170) in /home1/douglav3/public_html/wp-includes/feed-rss2.php on line 8
Douglas Were https://douglaswere.com Just another WordPress site Wed, 03 Jan 2024 22:09:50 +0000 en-US hourly 1 https://wordpress.org/?v=7.0 CakePHP 5, Zend & Session Management On Shared Hosting https://douglaswere.com/cakephp-5-zend-session-management/ https://douglaswere.com/cakephp-5-zend-session-management/#respond Wed, 03 Jan 2024 22:09:09 +0000 https://douglaswere.com/?p=304
  • Update the PHP.ini files on the shared hosting
  • if you get the session error change the path as shown under session.save_path

    2. If you are a development environment set the zend.assertion = 1

    3. If you enable debug ( DEBUG=”false”) then set send.assertion = -1 as shown in the image

    ]]>
    https://douglaswere.com/cakephp-5-zend-session-management/feed/ 0
    CakePHP Query with associations https://douglaswere.com/cakephp-query-with-associations/ https://douglaswere.com/cakephp-query-with-associations/#respond Thu, 16 Jun 2022 14:47:15 +0000 https://douglaswere.com/?p=282 getRequest()->getQuery('q'); $q = strtolower($q); $rooms = $this->paginate($roomsTable->find() ->matching('Properties.Landlord', function ($query) { return $query->where([ 'active ' => 'yes', ]); }) ->where([ 'Rooms.occupied' => […]]]> Query format with associations

    Rooms belong to properties. To fetch all the properties with name and location as the query search/filter parameter below is a how one gets to achieve this:

    
    $q = $this->getRequest()->getQuery('q');
    $q =  strtolower($q);
    $rooms = $this->paginate($roomsTable->find()
        ->matching('Properties.Landlord', function ($query) {
            return $query->where([
                'active ' => 'yes',
            ]);
        })
        ->where([
            'Rooms.occupied' => 'no',
            'Rooms.occupant_id IS' => null,
            'OR' => [
                'LOWER(Rooms.name) LIKE' => "%$q%",
                'Rooms.cost LIKE' => "%$q%",
                'LOWER(Properties.name) LIKE' => "%$q%",
                'LOWER(Properties.location) LIKE' => "%$q%",
    
            ],
        ])
        ->contain(['Properties.Agents.Managers']));
    ]]>
    https://douglaswere.com/cakephp-query-with-associations/feed/ 0
    CSS Tricks For 2022 https://douglaswere.com/css-tricks-for-2022/ https://douglaswere.com/css-tricks-for-2022/#respond Tue, 05 Apr 2022 14:51:18 +0000 https://douglaswere.com/?p=256 CSS Tricks for 2022

    CSS Blend Mode

    body {
     background-image: url(....);
     background-color: #00ce2d;
     backgound-blend-mode: screen;
    }

    Clipping

    e.g on stripe

    body > #bg{
     height:100%
     width:100%
     background-color: rgb(2,211,248);
     clip-path:polygon(100% 1%,100% 49%, 49% 99%,0 99%,0 0);
     position:absolute;
     z-index:-1;
    }
    

    Use clip-path maker online tools

    bennettfeely.com/clippy

    Animations

    @keyframes blink {
     0%{
      background:violet;
     }
     15%{
      background:indigo;
      100%{
       background:violet;
      }
     }
    @-webkit-keyframes blink {
     0%{
       background:violet;
     }
     15%{
       background:indigo;
       100%{
         background:violet;
      }
    }
    div{
     height: 500px;
     width:500px;
     border:1px solid black;
     animation: blink 10s infinite;
     -webkit-animation : blink 10s infinite
    }

    Fonts

    fonts.google.com

    select style and embed it to your page

    Gradients

    body {
    background: 
     background: radial-gradient(
                circle,
                   rgba() 10%,
                   rgba() 100%,
    }

    CSS gradient generators e.g cssgradient.io

    Credits to : https://www.youtube.com/watch?v=wfaDzSL6ll0 (Keep coding Youtube Channel)

    ]]>
    https://douglaswere.com/css-tricks-for-2022/feed/ 0
    Software Developer at Source Code LLC https://douglaswere.com/software-developer-at-source-code-llc/ https://douglaswere.com/software-developer-at-source-code-llc/#respond Tue, 17 Aug 2021 03:21:55 +0000 https://douglaswere.com/dev/?p=124 Source Code offers the same solutions for Resellers, ISVs, VARs, and OEMS, just like GLED. Source Code has the same products that you are familiar with and so much more.

    At Source Code i was tasked with :

    Developing E-commerce sites e.g Thinkmate.com,aberdeeninc.com,siliconmechanics.com etc.

    Developing in house applications /tools like sales order work flow ,purchase orders,Content manager(CMS),invoice,product online configurator and quote tools.

    • Integration with third party application through APIs like SAGE100,salesforce etc.
    • Application development was based on Agile development process,where we conceptualise client requirements.

    About me
    About Me
    Douglas Were
    Software Developer

    A software developer with a vast set of skills in software solutions development, agile processes, innovation with analytical thinking, and creative problem-solving.

    My desire is to contribute to the growth potential, create a stimulating environment and make an effective contribution to the increased use of IT and software as a key development tool in an organization.

    These skills include:

    • Full-stack web development :
      • PHP
        • CakePHP and Codeigniter Frameworks, HTML and LAMP/WAMP stack
      • ASP.net, MVC5 & 4
    • .NET C#, Desktop application development using Winforms.
    • Mobile application development.
      • Android Java Mobile Application Development.
      • Flutter ( Dart ) for cross-platform development.
    • Databases:MySQL,Postgre SQL,MSSQL
    • Source Control using GitHub.
    • Automation and Continuous Integration(CI) Using Jenkins.
    • Content Management System ( CMS ), using WordPress.

    Professional interests :

    • React Js and React Native
    • Angular js
    • MEAN stack
    • 3D printing and prototyping
    • Cloud services
    • Arduino and Robotics

    Other interests:

    • Sports i.e soccer(Currently participating in the mass adult soccer league for Lexington 030 team), Cycling, tennis.
    • Outdoors: Karting, paintball, kayaking, swimming travelling.
    I like developing software Contact me

    Generate mindmaps,conceptual maps ,dataflow diagrams and logic maps.

    I was tasked to work with the UX/UI designer to implement functional beta versions based off the dataflow diagrams and user flow diagrams/user stories.

    Unit testing and Continous Integration and deployment using Jenkins.

    Web application development was carried out using PHPStorm (IDE )with a developer Cloud based machine(LINUX) running Redhat OS.

    As a developer I was in charge of creating unit test plans and running unit tests on the functions and methods i had created.Once tests are complete you commit your code to github and resolve any merge conflicts.

    A core aspect of development and source control was database migrations using cakePHP,creation of seeding files and running database updates using migration.

    You then make a pull request to the integration server where all the code undergoes reviews and automated tests then deployment with Jenkins.if the tests are successful.

    One of my role was to develop and guide the automated deployment process using shell scripts to generate deployment pipelines for Jenkins.Managing the Jenkins server ,making sure the tasks are completed once the  review process is complete.

    ]]>
    https://douglaswere.com/software-developer-at-source-code-llc/feed/ 0
    Flutter vs Native Technology https://douglaswere.com/flutter-vs-native-technology/ https://douglaswere.com/flutter-vs-native-technology/#respond Thu, 05 Aug 2021 16:59:45 +0000 https://douglaswere.com/dev/?p=32

    Choosing the Right Mobile App Development Technology

    Quick Summary :- If we are to compare Flutter vs native technologies, both are sufficient when it comes to providing exemplary user experience, and high scalability. But is this the only common relation between these two? Not exactly. They differ hugely when it comes to the development pattern, costs, performance, maintenance and so much more. This article covers every aspect of Flutter vs native technologies, their benefits, limitations, and differences to help you make an informed decision.

    About me
    About Me
    Douglas Were
    Software Developer

    A software developer with a vast set of skills in software solutions development, agile processes, innovation with analytical thinking, and creative problem-solving.

    My desire is to contribute to the growth potential, create a stimulating environment and make an effective contribution to the increased use of IT and software as a key development tool in an organization.

    These skills include:

    • Full-stack web development :
      • PHP
        • CakePHP and Codeigniter Frameworks, HTML and LAMP/WAMP stack
      • ASP.net, MVC5 & 4
    • .NET C#, Desktop application development using Winforms.
    • Mobile application development.
      • Android Java Mobile Application Development.
      • Flutter ( Dart ) for cross-platform development.
    • Databases:MySQL,Postgre SQL,MSSQL
    • Source Control using GitHub.
    • Automation and Continuous Integration(CI) Using Jenkins.
    • Content Management System ( CMS ), using WordPress.

    Professional interests :

    • React Js and React Native
    • Angular js
    • MEAN stack
    • 3D printing and prototyping
    • Cloud services
    • Arduino and Robotics

    Other interests:

    • Sports i.e soccer(Currently participating in the mass adult soccer league for Lexington 030 team), Cycling, tennis.
    • Outdoors: Karting, paintball, kayaking, swimming travelling.
    I like developing software Contact me

    Flutter vs Native Technology: Choosing the Right Mobile App Development Technology

    Is it or is it not better to develop one application for two mobile platforms than essentially developing two different apps with separate codebases? To make your decision-making process more comfortable, we conducted this research to compare criteria such as cost of development, performance, architecture, use cases, and more. By the end of this blog, you will know when exactly you should choose Flutter or Native technology.

    iOS and Android are prominent mobile application platforms that leverage their native technologies for development purposes. Swift for iOS with Xcode or Java, Kotlin with Android Studio is some of the notable examples. However, in recent times, it is abundantly clear that a cross-platform framework like Flutter has been on the rise, and it provides native performance for iOS and Android with a single-code line.

    iOS and Android are prominent mobile application platforms that leverage their native technologies for development purposes. Swift for iOS with Xcode or Java, Kotlin with Android Studio is some of the notable examples. However, in recent times, it is abundantly clear that a cross-platform framework like Flutter has been on the rise, and it provides native performance for iOS and Android with a single-code line.

    ]]>
    https://douglaswere.com/flutter-vs-native-technology/feed/ 0