Preheat the oven to 180°C. Roast the tomatoes with a big pinch of salt and 2 tbsp of olive oil, skin side down for 15 - 25 mins until very soft and starting to caramelize a little. Remove from the oven and cool.
Using a food processor, blend the roasted tomatoes with the garlic until smooth.
Add the chickpeas to the food processor with the blended tomatoes. Add the shallots, sundried tomatoes or puree, spices and salt and blend until you have a coarse paste. Chill the mixture in the fridge for at least 30 minutes.
Preheat the oven to 160°C. Heat 5cm of oil in a saucepan at high heat to fry the falafel mixture in.
The mixture is quite wet and the oil is very hot so do be careful from here. Use two spoons- one to shape and one to scrape the mixture off. Drop spoonfuls of the batter into the hot oil. It should bubble and fry, quickly turning crisp and golden brown, about 2 minutes. Flip the falafel over to fry on the other side for 1 ½ - 2 minutes more. Work in small batches, 3 or 4 at a time, removing the falafel with a slotted spoon when crisp and golden brown.
Work in batches keeping the cooked fried falafel warm in the oven until you have used up all the mix.