Spatie team is still on fire with new packages. This week they released another one called Laravel Searchable, created mainly by AlexVanderbist. I’ve tried it myself and can show you a demo, along with my opinion. What is Laravel Searchable Spatie’s package makes searching in models an easy task, without external dependencies. The main advantage, as I’ve tested it, is ability to perform mega-search in all project database, specifying more than one model to search in. Here’s an example search code from Controller: Looks pretty simple and readable, right? You would say there’s no need for another “search” package when we have Laravel Scout, Algolia, ElasticSearch and others, right? Here’s Freek Van der Herten’s official take on it: laravel-searchable does not try to replace Scout. Both packages have their place. Make your own decision what you need in your project! — Freek Van der Herten (@freekmurze) Example mini-project: preparation To test the package, I’ve created a fresh Laravel 5.7 project (the code will be available on GitHub – link at the end of article) with two database tables: categories and companies: Also, seeded some data for both tables, used make:auth to generate a simple Bootstrap template, and ended up with this list of companies: The code is really simple, here’s HomeController: Now, let’s say we want to search both Categories and Companies from one text field. This is where the package will help us. Notice a Search bar in top-right corner? Here’s HTML code for it: Meanwhile, in routes/web.php, we have the homepage, search results, and pages for individual category/company: So, “all” we need to do now, is implement...
Hackers are always on the prowl to get access to vital and personal information for vested interest. With the onset of mobile technology, the phishing activity has become rampant and new ways have been devised to attack and hack devices. It is because of this reason that companies have begun spending enormous sums of money, amenities, and time to protect their system but often fail miserably in doing so because the application layer of the system is rendered unguarded against these threats. Studies have shown that it’s the application layer that suffers most of the damage when a security breach takes place, thus, making it the most vulnerable and exposing it to risks and loss of private information. Such a situation damages the reputation of the products and services, and of the company that provides them. To avoid such incidences, the developers should do away with the practice of developing security measures after the development of the app. Instead, the security features to protect the app from such phishing attacks must be developed when the app is being conceptualized and created. This reinforces the building blocks of app against hacks and makes them reliable. With such critical security concerns, software industries have begun finding methods to shield the apps against the threats and a considerable progress has already been made. Let’s discuss a few things that can be done to enhance the security of an app while developing it. 1. Preliminary Analysis at Initial Stage At the time of sketching a rough draft for the app, the development team and the security monitoring team should collectively note the initial...
The cyber security services market size will go up by three times to reach $13.6 billion in 2025 as against the current size of $4.39 billion, growing at 20-22 per cent annually. Interestingly, about 80 per cent revenue coming from global markets. The market size will go up to $9.3 billion by the end of financial year 2023, Rama Vedashree, Chief Executive Officer of DSCI (Data Security Council of India) has said, after releasing the Cyber Security Services Landscape report. Parallely, the cyber security services market globally clocked revenues of $64 billion in 2019-20, which is poised to be at $89 billion by 2022 and $116 billion by 2025. The Compound Annual Growth Rate (CAGR) of cyber security services market globally is pegged at 10 per cent. India, however, is expected to see a growth rate of 21 per cent. The report, which was released over a video-conference on Thursday, gives key data points on the growth of the cyber security industry in the country. Releasing the report, Ajay Sawhney, Secretary, Union Ministry of Electronics and IT, has said that cyber security held the key as the IT industry had let 95 per cent of its workforce to work from home. “Vulnerabilities creep in when you move faster than you are supposed to move. Issues related to cyber security will increase significantly,” he said. “The current employee base of the cyber security services companies is put at 1,10,000. This is going to be scaled up in the next few years,” the report said. The DSCI targets to achieve $35 billion in cyber security products and services sector, with 10...
mobile app developer singapore,singapore web development,developers in singapore,singapore web design,singapore app developer,website design singapore,singapore website design,web design services singapore,web design company singapore,singapore mobile app developer,mobile apps singapore,web development company singapore,web designer singapore,app developer singapore,ios app development singapore,website designer singapore,web development singapore,design agency singapore,ios developer singapore,mobile apps development singapore,developer in singapore,singapore web design services,mobile developer singapore,web design singapore,mobile application development singapore,graphic designer in singapore,web application singapore,ruby on rails developer singapore,android developer singapore,singapore mobile application developer,app development singapore,mobile application developer singapore,website developer singapore,website development singapore,mobile game developer singapore,mobile app development singapore,design firms in singapore