Questions tagged [nette]

Nette Framework is an open source tool for PHP web development. Nette focuses on security and performance and it's one of the safest PHP frameworks.

Nette Framework is an MVC framework developed by David Grudl. It is designed to be as easy as possible to use and it is one of the safest frameworks.

Latte is used as a primary templating engine which has features such as macros, filters, context-aware output escaping, localization support or custom blocks.

Nette offers an easy to use service container, allowing to register singleton or factory created services. The service container also supports Dependency Injection with automatic (can be disabled) injection of services into constructors of other services or controllers.

Current Nette version: 2.4

Resources

142 questions
-1
votes
1 answer

PHP - How to build multiple input search

I have a form with around 7 inputs and I want to let the user search according to the criteria he choosea. So for example: Inputs name can be: name age gender registration date But my user wants to pick just first 3, so SQL query will look…
Andurit
  • 5,612
  • 14
  • 69
  • 121
-1
votes
4 answers

MySQL statement with ">" or "<" parameter

Is there a way how to fetch all data from table where number is higher than something. In my case I am using UNIX time in database to be able to easily compare data. Right now I would like to count every login which is higher then current UNIX time…
Andurit
  • 5,612
  • 14
  • 69
  • 121
-2
votes
1 answer

SQLSTATE[42000]: Syntax error or access violation [ PHP ]

I build SQL query with a method and then return it and use it. $query = $this->buildSearchQuery($searchParams); return $this->db->query($query); Unfortunately this throw me an error: SQLSTATE[42000]: Syntax error or access violation:…
Andurit
  • 5,612
  • 14
  • 69
  • 121
-3
votes
1 answer

Call to a member function where() on array php

$customers = \dibi::select('*')->from('accounts')->fetchAll(); if($username){ $customers = $customers->where("username", $username); } I have got problem with this code. Error is: Call to a member function where() on…
snoopdog
  • 3
  • 1
-3
votes
1 answer

Module Based Development in Nette php

My question is pretty simple.I an developing a web site using Nette framework.can I use a module based project structure. Ex: Project |- app |- Module_1 |- Module_2
Azmath Ikram
  • 25
  • 1
  • 6
-3
votes
1 answer

How to redraw html content via Ajax in Laravel - nette snippets

I'm looking for some unobtrusive ajax solution for Laravel. for example Nette Framework has implemented own ajax workflow to do this. but laravel doesn’t provide anything like this… Edit: Of course, i know that i can do that with jQuery and…
-4
votes
1 answer

Advantages of pure PHP compared to frameworks

Are there any advantages for using pure PHP instead of its frameworks? I work on thesis and I need to find some pros of pure PHP. I tried to google but there is only praise the frameworks.
user7303261
  • 128
  • 12
1 2 3
9
10